Skip to content

Tag: conda

Pycharm Can’t install TensorFlow

I cannot install tensorflow in pycharm on windows 10, though I have tried many different things: went to settings > project interpreter and tried clicking the green plus button to install it, gave me the error: non-zero exit code (1) and told me to try installing via pip in the command line, which was succ…

Error creating anaconda python environment

Every time I try to create a new environment with anaconda in the Windows Command Prompt I get this error: I use this command to create the environment: Screenshot of error in command prompt Answer You are supposed to use a terminal not the Python interpreter to execute those commands. Search for terminal in …

Switch between spyder for python 2 and 3

From what I have learnt in the documentation it states that you can easily switch between 2 python environments by just creating a new variable using command prompt “conda create -n python34 python=3.4 anaconda” if i already have python 2.7 installed. An environment named python 34 is created and …

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…