Python 3: Automating `source Env/bin/activate` Upon Cd-ing To A Directory
Previously I was at > port select --list python .. python27 (active) .. Now, even after > sudo port select --set python python36 and > pip install autoenv==1.0.0 I stil
Solution 1:
activate.sh
from autoenv
is written in shell and doesn't mention Python in any way. It should work with any directory that has .env
. So you actually don't need to reinstall it. But if you still want — pip install
usually installs for Python 2. Use
pip uninstall autoenv
pip3 install autoenv
to uninstall autoenv
for Python 2 and install it for Python 3.
Post a Comment for "Python 3: Automating `source Env/bin/activate` Upon Cd-ing To A Directory"