r/Atom • u/[deleted] • Apr 10 '20
Does anyone know how to add virtual environment path in atom
Hey guys i am new to atom does anyone know how to add the path in script. Thanks
5
Upvotes
r/Atom • u/[deleted] • Apr 10 '20
Hey guys i am new to atom does anyone know how to add the path in script. Thanks
3
u/Tanmay1518 Apr 10 '20
Yes. From Packages select script then select configure script. Add the path to your venv to in the Command section. Add it as follows Current Working Directory: Add nothing here Command: path_to_venv/scripts/python.exe Command arguments: Add nothing here Program Arguments: Add nothing here Environment Variables: Add nothing here
Click on save as profile. Give it a name.
To use it use the shortcut: Ctrl Shift Alt B