I used conda to install version 2.7 of Python (the original version was 3.6), but when I used source activate python27
to switch the Python version, I was prompted
source: no such file or directory: activate
How to solve this? mac operating system.
If you are doing Python multi-version management on mac, it is highly recommended to use
pyenv
: GitHub·pyenv