How to make batch files run in anaconda prompt
I believe all the Anaconda prompt does is open CMD and run a batch file. Make the first command of your script: call <anaconda_dir>/Scripts/activate.bat <anaconda_dir>
I believe all the Anaconda prompt does is open CMD and run a batch file. Make the first command of your script: call <anaconda_dir>/Scripts/activate.bat <anaconda_dir>
Thanks to @Darthbith and this post How to change the default browser used by the ipython/jupyter notebook in Linux? I was able to figure it out: Step 1: To open Anaconda Prompt from the Start Menu and type # for old notebook and JupyterLab < 3.0, or jupyter notebook –generate-config # for new nbclassic and … Read more
The column with py27_0 is what build/version of python it is for. The column with defaults is to indicate which Anaconda channel it falls under. Different users or organizations can have their own channels but the default channel is defaults and another popular channel is conda-forge. The way you install any specific version from that … Read more
I got this working on windows by downloading: the sqlite3 dll (find your system version) And placing it into the folder: C:\Users\YOURUSER\Anaconda3\DLLs (Depending on how you installed Anaconda, this may have to be placed into the following folder: C:\ProgramData\Anaconda3\DLLs) According to @alireza-taghdisian, you can locate the exact path of your conda environments (where you need … Read more
You can add –debug option to the conda command and see the output from console(or terminal). For example, type conda update –debug numpy. From the output, we can see that the client requests repodata.json from channel list and do some computation locally in the Solving Environment Step.
If you activate the environment you’re interested in, you can find that answer in the environment variables. on MacOS/Linux: source activate python35 echo $CONDA_PREFIX on Windows: conda activate python35 echo %CONDA_PREFIX% You can also run conda info –envs, and that will show the paths to all your environments. To get the path to the instance … Read more
My original answer got flagged as duplicate because I answered a similar question with the same answer, I wasn’t aware that this is not allowed. I have marked my other response as a duplicate. Hopefully, this stays up! I almost spent two days running in circles trying all the solutions I could find on the … Read more
If you install the conda build package (and you have a package, not just a script), you can install in “editable” mode: conda develop . (running from the directory with your script). This is very similar to the “editable” mode from pip pip install -e . Either approach lets you uninstall packages with either conda … Read more
I know it’s late, but I thought it would be nice to clarify things: PyCharm and Conda and pip work well together. The short answer Just manage Conda from the command line. PyCharm will automatically notice changes once they happen, just like it does with pip. The long answer Create a new Conda environment: conda … Read more
The easiest way (Worked for me) is to do the following: anaconda search -t conda xgboost You will get a list of install-able features like this: for example if you want to install the first one on the list mndrake/xgboost (FOR WINDOWS-64bits): conda install -c mndrake xgboost If you’re in a Unix system you can … Read more