I have Python 3.5 (3.5.6) installed via Anaconda, and now I’d like to be able to use Python 3.7, keeping 3.5 as the default (the one python “insert script name” would run on the command line). I commanded the computer to activate it, but it isn’t working. Answer In the Start menu you have to open “Anaconda Prompt” which is
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 successful, but I can’t figure out
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 search menu of you computer (cmd
PyInstaller with Pandas creates over 500 MB exe
I try to create an exe file using PyInstaller 3.2.1, for test purpose I tried to make an exe for following code: After considerable amount of time (15mins +) I finished with dist folder as big as 620 MB and build – 150 MB. I work on Windows using Python 3.5.2 |Anaconda custom (64-bit). Might be worth noting that 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 we can activate it using “activate python 34” But all this
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 for dry-run (not destination, as of v22.11.0) Old
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 conda If you
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 the command lines doesn’t
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 without one and get errors: Answer If you don’t care which version of Plotly you install, just use pip. pip install plotly is
Using multiple Python engines (32Bit/64bit and 2.7/3.5)
I would like to use Python for scientific applications and after some research decided that I will use Anaconda as it comes bundled with loads of packages and add new modules using conda install through the cmd is easy. I prefer to use the 64 bit version for better RAM use and efficiency but 32bit version is needed as well