You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I usually have a env or venv directory which is created by python3 -m venv env. How do I get this virtual environment activated automatically when I open any python script under myapp and its subdirectories. Even more useful I have option set deactivate automatically virtual environment env if I navigate and open python scripts outside of myapp:
You can use .dir-locals.el to specify the virtualenv for pyvenv-tracking-mode. Alternatively, you can look at the definition of pyvenv-tracking-mode to get some inspiration on how to do this in your init.el without adding new files to your project (or .gitignore).
I usually have a
env
orvenv
directory which is created bypython3 -m venv env
. How do I get this virtual environment activated automatically when I open any python script undermyapp
and its subdirectories. Even more useful I have option set deactivate automatically virtual environmentenv
if I navigate and open python scripts outside ofmyapp
:The text was updated successfully, but these errors were encountered: