How do I switch from Python 3.5 back to 3.6 on mac terminal -
i dealt worse bug in entire 3 years of computer programming! turns out because wanted work natural language toolkit had install python 3.5 though i'm using python 3.6. downloaded 3.5 , terminal using python 3.5 default , can't 3.6. because using python 3.5 not automatically order dictionaries throwing program off because relies on ordered dictionaries. took me 4 hours figure out.
you want use virtualenv and/or virtualenvwrapper. utility allows use multiple different environments, different python versions, different pip packages installed, etc.
to find 3.5 version, run which python
in terminal find path python
executable; @ path
environment, , see location of python on path
. need find out path getting added; depend on os/shell.
Comments
Post a Comment