Problem installing package, how to solve?
Little Girl
littlergirl at gmail.com
Sun Feb 4 15:20:58 UTC 2024
Hey there,
Colin Watson wrote:
>Little Girl wrote:
>> The virtual environments act on the terminal that the programs are
>> being run from rather than on the programs themselves. In other
>> words, when you launch a virtual environment, that session of the
>> terminal that you're in is inside of that virtual environment until
>> you either issue a command to stop the virtual environment or until
>> you close that terminal.
>
>Even that isn't necessary. A program installed in a Python
>virtualenv may be linked into your $PATH and run directly without
>having to activate/launch/whatever the virtualenv first.
Interesting. I'll have to look into that. I always launch the virtual
environment first and then my program. Granted, my use of virtual
environments is purely for development, so the things I run are
temporary and don't need to end up on $PATH. It's good to learn,
though, in the event that there's ever a frequently-run program that
requires a virtual environment.
--
Little Girl
There is no spoon.
More information about the ubuntu-users
mailing list