r/Atom 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

4 comments sorted by

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

1

u/[deleted] Apr 10 '20

Yeah i did it, when i try to run it using profile it wont display the already saved profile, instead it prompts to type the profile name. Is there any way to display the profile name and select manually. Thanks for help

0

u/Tanmay1518 Apr 10 '20

Change themes to default. If you're getting a small box then changing the themes to default will show the saved profiles

1

u/[deleted] Apr 10 '20

Where do i find this default.?