Skip to content

Tag: anaconda

How can I rename a conda environment?

I have a conda environment named old_name, how can I change its name to new_name without breaking references? Answer New answer: From Conda 4.14 you will be able to use just: Although, under the hood, conda rename still uses [1][2] undermentioned combination of conda create and conda remove. Use the -d flag f…

How do I upgrade to Python 3.6 with conda?

I want to get the latest version of Python to use f-strings in my code. Currently my version is (python -V): How would I upgrade to Python 3.6? Answer Anaconda has not updated python internally to 3.6. a) Method 1 If you wanted to update you will type conda update python To update anaconda type conda update c…

run a crontab job using an anaconda env

I want to have a cron job execute a python script using an already existing anaconda python environment called my_env. The only thing I can think to do is have the cron job run a script called my_script.bash which in turn activates the env and then runs the python script. Trying to execute this script from th…

Install Plotly in Anaconda

How to install Plotly in Anaconda? The https://conda.anaconda.org/plotly says to conda install -c https://conda.anaconda.org/plotly <package>, and The https://plot.ly/python/user-guide/ says to pip install plotly. I.e., without package. So which packages I should specify in Anaconda conda? I tried witho…