I just installed Anaconda3-2019-10 on my MacBook.
I tried to make sure that my previous Python 3 version was totally uninstalled / removed from my system. Typing python3to the terminal didn´t work anymore.
After installing Anaconda and PyCharm (pycharm-community-anaconda-2019.3.3) I started a new Project to test everything. For that I selected to create a new Conda environment:
After I created the process I checked the Preferences and the "Project Interpreter". This is what I found:
I expected to find two interpreters 1.) my 3.7 Python version and 2.) the Conda environment just created.
Does finding 3 versions mean that I didn´t correctly deinstall Python3 before installing anaconda or is there anything that I don´t understand here?
Do I need both versions?
If not is there a safe way to remove one of them?
For removing Python3 from my system I did almost everythin suggested in numerous posts in Stackoverflow.
Upon creating a venv(virtual environment) you no longer need to worry about the existing interpreter. https://docs.python.org/3/tutorial/venv.html this might be of help.
Related
I'm trying to use Visual Studio Code with both Anaconda and Python for Windows.
I have both installed, and I have the visual studio code extensions for both.
But no matter what I do now the Conda Base gets activated -
(base) PS C:\Users
even though the Python for Windows is the selected version
or if I try to activate an environment I get a mix of both, the venv with python for windows and the conda base activated.
(venv_iocparser) (base) PS C:\Users\
The settings.json file in this folder only has python for windows in the 'python.pythonPath'; with no mention of conda, but still activates the conda base.
Does anyone know a good article that walks through setting VSCode up with both? With python for windows as the default?
Thank you!
Had a similar issue. Its most likely since you installed VS Code with Anaconda, for some reason or another it just assumes thats what env you want when starting it.
To get out of it just run $ conda deactivate and then activate whatever env you want after that. I fixed it by changing the PATH for the python to only point at the non-conda versions though. I also had uninstalled it all and reinstalled it all at one point though.
Several days ago, Spyder stopped running. I tried almost everything on forums. I desinstalled it and downloaded last version of anaconda package, but to no avail.
This is what the anaconda prompt shows me
As I said, I tried uploading qt, PySide, and even tried to locate .spyder2 to erase it as is said in Anaconda webpage.
I really don't know what else to try
EDIT: Don't know if you need versions of anything, because as I said, it is the standard last version package available in Anaconda.
EDIT2: I'm using Windows 10
I have been using Anaconda 3-5.0.1 with spyder3. Spyder has begun to fail.
I tried to remove and reinstall but reinstall fails. I removed hidden folder
anaconda3 to no avail. I now have no working spyder. I am installing 64-bit version in Windows 10. There are a variety of error messages including cant create menus. I have run this install many times prior to today (2/8/2018).
I assume continuum changed something.
I would greatly appreciate guidance.
For those of you who still have the same issue, try to follow the link below.
http://shirabeta.net/Anaconda-install-error.html#.WopGl6huY2z
You may need to have a google translate as it's a Japanese blog.
I deleted JDK, JRE and all java related paths in the environment setting as suggested in the blog. Then I could successfully install anaconda3.5.1.0_64bit with no error.
I tried downloading/installing Versions 3.4, then 3.6 of Anaconda on Windows 10. Each time. I got an error message that the Anaconda menu filed to load.
I did a re-try, then even tried to IGNORE, but then I got another message that the directories had failed to load. Are these versions meant for Windows 10?
Thanks - Steve
This has come up quite a bit. It should be fixed in Anaconda4.3.1. It often happens when installing to all user areas and if you have spaces or unicode characters in the username. It is best to install to your user directory. Even though it gives an error Anaconda is still installed, it just didn't make the Start Menu items. You can install them yourself:
conda install -f console_shortcut ipython ipython-qtconsole anaconda-navigator spyder jupyter
I can say I am quite new to the world of Python but not to programming. I have been using PyCharm over the last year and I got Python conda distribution to make my life easier with package management.
Lately, I have been trying to play with a package known PuLP which was not available to download via conda but I installed using pip. I realized that although PyCharm recognizes pulp when running my code, it is not in the available packages and I am not sure that the same version of PuLP is used in and out of PyCharm. Specifically, when I run the pulpTestAll command that looks for installed solvers from my terminal, the recognized solvers are different than those recognized when I run exactly the same script within PyCharm.
Can someone give me a tip on how to fix this?
How do I import modules in pycharm?
You may look here. Maybe you have to specify an interpreter for the Conda environment. To do that when you are choosing an interpreter at the right there is a gear at the right. After you press it, you may add a new interpreter and you can choose Conda Environment.