I'm using OSX and I installed python3 with anaconda installed. In my OSX, there exists two versions of python, i.e. python2 and python3.
I managed the modules in anaconda which only affect modules in python3. But how can I manage(install, delete, update) the modules for python2?
I've checked some posts about 'python2 is at /usr/bin/python' . So it's ok to use python2 by '/usr/bin/python' without configuring alias. But, how can I manage(install, delete, update) the modules for python2 when python3 installed as well. In OSX.
Below is some cmds result. Thank you!!
$ pip --version
pip 18.0 from ~/anaconda/lib/python3.5/site-packages/pip (python 3.5)
$ pip3 -V
pip 18.0 from ~/anaconda/lib/python3.5/site-packages/pip (python 3.5)
$ echo $PATH
~/anaconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin