Strange venv behaviour
Tony Arnold
a.c.arnold at gmail.com
Mon Feb 17 14:28:25 GMT 2025
Hi,
Not sure if this is a bug or a feature, but I've observed the following
behaviour when configuring virtual environment on eric7 25.2 running on
Ubuntu 24.04.
If I configure the python interpreter for a venv as /usr/bin/python3,
then eric shows all the locally installed packages in the PyPi panel
rather than just those in the venv. Also when trying to install a
package in the venv, it gives an error saying the venv is locally
managed.
However, if I configure the interpreter to use the path of the venv,
e.g., /home/venv/somevenv/bin/python3, then PyPi shows just the
packages in that venv and allows installation and removal of packages
within the venv.
Hope this makes sense.
Regards,
Tony.
--
Tony Arnold; Retired computer scientist; a.c.arnold at gmail.com; +44 7521
071138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20250217/e34844c2/attachment.htm>
More information about the Eric
mailing list