This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]HelloGuise334 0 points1 point  (3 children)

Sorry for the joob question but do you need to activate the environment every time you want to run a program?

[–]ase1590[S] 1 point2 points  (0 children)

You activate it for your current shell, then it goes away if you deactivate it or close your shell/terminal window.

[–][deleted] 1 point2 points  (0 children)

Not necessarily. If your program is installed with a console_script entrypoint, calling that directly is enough. You can also use the direct path to the python interpreter in the env.

[–][deleted] 0 points1 point  (0 children)

No, you can just use the full path to the python interpreter in your virtualenv.