Wisest tips for Python 2 vs 3 with Anaconda vs PyCharm
This came in from a wise software developer with much experience in these environments. Confusing for many I know based on an email I sent out below. Also, check out the 1 on 1 tutorial below to see how I tried to help others. BIG THANKS to this person for helping who is among some really amazing generous people in this community!
I sense your frustration with the mixed python environments when trying to get everything to play nicely (from your video) . May I suggest that you try setting up virtual python environments with “vritualenv” (and/or manage multiple environments with “virtualenvwrapper”). Create your virtual environment and install Anaconda for python 2.7 into one of the virtual environments that you have setup and that way you have a isolated sandbox with which you can only use that version of python (the other installs are invisible to this environment unless you choose to make them visible – that is a switch in the virtualenv setup), IDE (Spyder) etc Anaconda only, and pip Mongodb will install in this Anaconda environment- without leaking into your other environments. You can setup another for Anaconda for python 3, another for Pycharm etc….
By the way “pip” does work with Anaconda for packages that are not part of Anaconda, you just have to manage those packages yourself and I have never had any issues.
Here are some resources that may be useful to explore should you wish to go down that path.
Good tuts for “virtualenv”
Python Power Tools: virtualenv
Python Power Tools: virtualenvwrapper
Python Virtualenv and Virtualenvwrapper Tutorial for Ubuntu 14.04
How to Setup a new Python Project
Historical postings included
1 on 1 tutorial:
NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!