Re: upgrade of pip on my python 2.7 version

2023-09-28 Thread Thomas Passin via Python-list
On 9/28/2023 9:23 AM, Zuri Shaddai Kuchipudi via Python-list wrote: On Wednesday, 27 September 2023 at 23:33:02 UTC+2, Chris Angelico wrote: On Thu, 28 Sept 2023 at 07:27, Mats Wichmann via Python-list wrote: Upgrading to Python 3 is the best answer... except when it isn't. If you want to

Re: upgrade of pip on my python 2.7 version

2023-09-28 Thread Zuri Shaddai Kuchipudi via Python-list
On Wednesday, 27 September 2023 at 23:33:02 UTC+2, Chris Angelico wrote: > On Thu, 28 Sept 2023 at 07:27, Mats Wichmann via Python-list > wrote: > > > > Upgrading to Python 3 is the best answer... except when it isn't. If > > you want to convert a small project it's usually not too hard; and

Installing package as root to a system directory

2023-09-28 Thread Loris Bennett via Python-list
Hi, I use poetry to develop system software packages as a normal user. To install the packages I use, again as a normal user export PYTHONUSERBASE=/some/path pip3 install --user somepackage.whl and add /some/path to /usr/lib64/python3.6/site-packages/zedat.pth This works well enough,

Re: venv --upgrade 3.12.0rc2 --> 3.12.0rc3 failure

2023-09-28 Thread Robin Becker via Python-list
On 28/09/2023 10:05, Barry via Python-list wrote: So this must be the source of my confusion user@host:~ $ python312 -mvenv --help .. --upgrade Upgrade the environment directory to use this version of Python, assuming Python has been upgraded in-place.

Re: venv --upgrade 3.12.0rc2 --> 3.12.0rc3 failure

2023-09-28 Thread Barry via Python-list
> On 27 Sep 2023, at 12:50, Robin Becker via Python-list > wrote: > > Attempting venv upgrade 3.12.0rc2 --> 3.12.0rc3 I find pyvenv.cfg changes, > but the virtual python doesn't. > I guess this ought to be a bug. You must delete and then recreate the venv if the version of python changes.