Re: Pip installs to unexpected place

2025-04-21 Thread rbowman via Python-list
On Sat, 19 Apr 2025 15:56:16 -0400, Thomas Passin wrote: > My problem with venvs, especially if I have more than one, is that I > eventually forget what they were for and what is different about each > one. If there's only one and it's used for all non-system work, that's > OK but beyond that and

Re: Pip installs to unexpected place

2025-04-21 Thread songbird via Python-list
Peter J. Holzer wrote: > On 2025-04-18 13:08:36 -0400, Thomas Passin via Python-list wrote: ... >> When the system launches its application the PYTHONPATH will start with >> system site directories; local user site directories will be on the >> PYTHONPATH but since they come later, the python will

Re: Pip installs to unexpected place

2025-04-19 Thread Thomas Passin via Python-list
On 4/19/2025 4:56 AM, Peter J. Holzer via Python-list wrote: On 2025-04-18 13:08:36 -0400, Thomas Passin via Python-list wrote: On 4/18/2025 11:38 AM, Peter J. Holzer via Python-list wrote: On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote: On 18/04/25 9:41 am, Mats Wichmann wrote

Re: Pip installs to unexpected place

2025-04-19 Thread Peter J. Holzer via Python-list
On 2025-04-18 13:08:36 -0400, Thomas Passin via Python-list wrote: > On 4/18/2025 11:38 AM, Peter J. Holzer via Python-list wrote: > > On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote: > > > On 18/04/25 9:41 am, Mats Wichmann wrote: > > > > There's just not a really great answer to th

Re: Pip installs to unexpected place

2025-04-19 Thread Peter J. Holzer via Python-list
On 2025-04-18 17:11:33 +0100, Oscar Benjamin via Python-list wrote: > On Fri, 18 Apr 2025 at 16:50, Peter J. Holzer via Python-list > wrote: > > > > On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote: > > > On 18/04/25 9:41 am, Mats Wichmann wrote: > > > > There's just not a really gre

Re: Pip installs to unexpected place

2025-04-18 Thread Thomas Passin via Python-list
On 4/18/2025 11:38 AM, Peter J. Holzer via Python-list wrote: On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote: On 18/04/25 9:41 am, Mats Wichmann wrote: There's just not a really great answer to this. Seems to me a system-installed application shouldn't be looking in the user's

Re: Pip installs to unexpected place

2025-04-18 Thread Oscar Benjamin via Python-list
On Fri, 18 Apr 2025 at 16:50, Peter J. Holzer via Python-list wrote: > > On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote: > > On 18/04/25 9:41 am, Mats Wichmann wrote: > > > There's just not a really great answer to this. > > > > Seems to me a system-installed application shouldn't

Re: Pip installs to unexpected place

2025-04-18 Thread Peter J. Holzer via Python-list
On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote: > On 18/04/25 9:41 am, Mats Wichmann wrote: > > There's just not a really great answer to this. > > Seems to me a system-installed application shouldn't be looking in the > user's .local packages in the first place. That should only b

Re: Pip installs to unexpected place

2025-04-17 Thread Greg Ewing via Python-list
On 18/04/25 9:41 am, Mats Wichmann wrote: There's just not a really great answer to this. Seems to me a system-installed application shouldn't be looking in the user's .local packages in the first place. That should only be for things the user has installed "for this user". -- Greg -- https

Re: Pip installs to unexpected place

2025-04-17 Thread Mats Wichmann via Python-list
On 4/17/25 15:15, Grant Edwards via Python-list wrote: On 2025-04-17, Left Right via Python-list wrote: Also... when installing stuff with pip --user, it is always a package that is not installed for the system (usually not even available for the system). How can that "break system packages"?

Re: Pip installs to unexpected place

2025-04-17 Thread Grant Edwards via Python-list
On 2025-04-17, Left Right via Python-list wrote: >> Also... when installing stuff with pip --user, it is always a package >> that is not installed for the system (usually not even available for >> the system). How can that "break system packages"? > > pip installs dependencies. Dependencies may di

Re: Pip installs to unexpected place

2025-04-17 Thread Left Right via Python-list
> Also... when installing stuff with pip --user, it is always a package > that is not installed for the system (usually not even available for > the system). How can that "break system packages"? pip installs dependencies. Dependencies may disagree on the version with the system packages. This is

Re: Pip installs to unexpected place

2025-04-17 Thread Thomas Passin via Python-list
On 4/17/2025 4:58 AM, Roel Schroeven via Python-list wrote: Op 15/04/2025 om 20:31 schreef Mats Wichmann via Python-list: To be clear: you do not have to activate a virtualenv to use *Python* from it. If you just call the python by the path it's in, it figures everything out (and sets some vari

Re: Pip installs to unexpected place

2025-04-17 Thread Roel Schroeven via Python-list
Op 15/04/2025 om 20:31 schreef Mats Wichmann via Python-list: To be clear: you do not have to activate a virtualenv to use *Python* from it. If you just call the python by the path it's in, it figures everything out (and sets some variables you can query vi sysconfig if you have reason to actua

Re: Pip installs to unexpected place

2025-04-16 Thread Thomas Passin via Python-list
On 4/15/2025 5:38 PM, rbowman via Python-list wrote: On Tue, 15 Apr 2025 14:12:19 -0400, Thomas Passin wrote: On Linux, at least, it's standard for pip to install into the user's site-packages location if it's not invoked with admin privileges - even without --user. Pip will emit a message sayi

Re: Pip installs to unexpected place

2025-04-16 Thread rbowman via Python-list
On Tue, 15 Apr 2025 14:12:19 -0400, Thomas Passin wrote: > On Linux, at least, it's standard for pip to install into the user's > site-packages location if it's not invoked with admin privileges - even > without --user. Pip will emit a message saying so. Well, that used to be > true but nowadays P

Re: Pip installs to unexpected place

2025-04-16 Thread Grant Edwards via Python-list
On 2025-04-16, Mats Wichmann via Python-list wrote: > On 4/15/25 16:07, Grant Edwards via Python-list wrote: >> On 2025-04-15, Thomas Passin via Python-list wrote: >> >>> On Linux, at least, it's standard for pip to install into the user's >>> site-packages location if it's not invoked with admi

Re: Pip installs to unexpected place

2025-04-15 Thread Mats Wichmann via Python-list
On 4/15/25 16:07, Grant Edwards via Python-list wrote: On 2025-04-15, Thomas Passin via Python-list wrote: On Linux, at least, it's standard for pip to install into the user's site-packages location if it's not invoked with admin privileges - even without --user. Pip will emit a message saying

Re: Pip installs to unexpected place

2025-04-15 Thread Grant Edwards via Python-list
On 2025-04-15, Thomas Passin via Python-list wrote: > On Linux, at least, it's standard for pip to install into the user's > site-packages location if it's not invoked with admin privileges - even > without --user. Pip will emit a message saying so. Well, that used to be > true but nowadays Pi

Re: Pip installs to unexpected place

2025-04-15 Thread rbowman via Python-list
On Tue, 15 Apr 2025 18:43:43 +0200, Friedrich Romstedt wrote: > Many people put emphasis on that you need to *activate* a virtualenv > before using it, but no-one so far stressed the fact that you got Sphinx > installed to ~/jonathan/.local/lib/python3.13/site-packages *without > using *--user. T

Re: Pip installs to unexpected place

2025-04-15 Thread Thomas Passin via Python-list
On 4/15/2025 3:41 PM, dn via Python-list wrote: Various responses have been provided but the OP has not yet replied on- list (as verified by Archive). Is this an error with the list-processor or have some posts been sent to one person only (using Reply instead of ReplyList)? There are always

Re: Pip installs to unexpected place

2025-04-15 Thread Thomas Passin via Python-list
On 4/15/2025 12:43 PM, Friedrich Romstedt via Python-list wrote: Am Mo., 14. Apr. 2025 um 01:14 Uhr schrieb Jonathan Gossage via Python-list : I am using *Python 3.13* in a virtual environment under *Ubuntu Linux 24.04* . [...] Instead, it was installed into the site-packages directory in

Re: Pip installs to unexpected place

2025-04-15 Thread dn via Python-list
Various responses have been provided but the OP has not yet replied on-list (as verified by Archive). Is this an error with the list-processor or have some posts been sent to one person only (using Reply instead of ReplyList)? There are always others who would like to learn from list-discussio

Re: Pip installs to unexpected place

2025-04-15 Thread Mats Wichmann via Python-list
On 4/15/25 10:43, Friedrich Romstedt via Python-list wrote: Many people put emphasis on that you need to *activate* a virtualenv before using it, but no-one so far stressed the fact that you got Sphinx installed to ~/jonathan/.local/lib/python3.13/site-packages *without using *--user. To be clea

Re: Pip installs to unexpected place

2025-04-15 Thread Friedrich Romstedt via Python-list
Am Mo., 14. Apr. 2025 um 01:14 Uhr schrieb Jonathan Gossage via Python-list : > I am using *Python 3.13* in a virtual environment under *Ubuntu Linux > 24.04* > . > [...] > Instead, it was > installed into the site-packages directory in > */home/jonathan/.locals/lib/python3.13/site-packages* ev

Re: Pip installs to unexpected place

2025-04-15 Thread rbowman via Python-list
On Mon, 14 Apr 2025 15:20:13 -0700, Keith Thompson wrote: > Making the active script executable introdues the risk that you'll > accidentally execute it rather than sourcing it. If you do that, it > will probably set up the environment in a new shell process which then > immediately terminates.

Re: Pip installs to unexpected place

2025-04-15 Thread Keith Thompson via Python-list
rbowman writes: > On Mon, 14 Apr 2025 09:55:09 -0400, Thomas Passin wrote: >> Pip doesn't know about the environment it runs in. It seems to me that >> you didn't active the venv before you installed using pip. So nothing >> would have gotten installed into the venv. So where is the venv that you

Re: Pip installs to unexpected place

2025-04-14 Thread Thomas Passin via Python-list
On 4/14/2025 6:20 PM, Keith Thompson via Python-list wrote: Thomas Passin writes: [...] To activate a venv, you have to source its activate script, which is in the venv. First you have to mark it as executable. Then you source it - source ~/venv/gf4/bin/activate [...] No, you don't have to

Re: Pip installs to unexpected place

2025-04-14 Thread Thomas Passin via Python-list
On 4/14/2025 6:20 PM, Keith Thompson via Python-list wrote: Thomas Passin writes: [...] To activate a venv, you have to source its activate script, which is in the venv. First you have to mark it as executable. Then you source it - source ~/venv/gf4/bin/activate [...] No, you don't have to

Re: Pip installs to unexpected place

2025-04-14 Thread rbowman via Python-list
On Mon, 14 Apr 2025 09:55:09 -0400, Thomas Passin wrote: > Pip doesn't know about the environment it runs in. It seems to me that > you didn't active the venv before you installed using pip. So nothing > would have gotten installed into the venv. So where is the venv that you > set up? I usually p

Re: Pip installs to unexpected place

2025-04-14 Thread Keith Thompson via Python-list
Thomas Passin writes: [...] > To activate a venv, you have to source its activate script, which is > in the venv. First you have to mark it as executable. Then you source > it - > > source ~/venv/gf4/bin/activate [...] No, you don't have to (and probably shouldn't) mark the script as executable.

Re: Pip installs to unexpected place

2025-04-14 Thread Thomas Passin via Python-list
Please include the group in your response; don't just send it to me. On 4/14/2025 5:09 AM, Jonathan Gossage wrote: The virtual environment was owned by the user running pip. It was not owned by root. Does pip not support virtual environments that are owned by a non-root user and have a multi-us

Re: Pip installs to unexpected place

2025-04-14 Thread rbowman via Python-list
On Sun, 13 Apr 2025 19:10:47 -0400, Jonathan Gossage wrote: > The version of Python was compiled from source code and installed with > make altinstall. I attempted to use *pip* to install the *Sphinx* > package into the virtual environment using the command *pip install > sphinx* in the virtual en

Re: Pip installs to unexpected place

2025-04-13 Thread dn via Python-list
On 14/04/25 11:10, Jonathan Gossage via Python-list wrote: I am using *Python 3.13* in a virtual environment under *Ubuntu Linux 24.04* . The version of Python was compiled from source code and installed with make altinstall. I attempted to use *pip* to install the *Sphinx* package into the virtu

Re: pip and venvs on Debian

2024-05-21 Thread Roel Schroeven via Python-list
Op 20/05/2024 om 23:48 schreef Akkana Peck via Python-list: Every so often I need to regenerate it (like when Debian updates the system Python version) but that's easy to do: I don't try to duplicate what's installed there, I just delete the old venv, create a new one and then pip install pack

Aw: Re: pip/pip3 confusion and keeping up to date

2023-11-07 Thread Karsten Hilbert via Python-list
> > .From all the posts I gather the answer to my question is > > "simply": unpackaged-but-needed modules need to be packaged. > > I think there is one aspect that isn't getting consideration here. And > that is whether or not you want these packages installed in the default > system Python instal

Re: pip/pip3 confusion and keeping up to date

2023-11-06 Thread Thomas Passin via Python-list
On 11/6/2023 5:04 PM, Karsten Hilbert via Python-list wrote: Am Mon, Nov 06, 2023 at 02:43:47PM -0700 schrieb Mats Wichmann via Python-list: I had just hoped someone here might have a handy pointer for how to deal with modules having to be installed from pip for use with an apt-installed python

Re: pip/pip3 confusion and keeping up to date

2023-11-06 Thread Karsten Hilbert via Python-list
Am Mon, Nov 06, 2023 at 02:43:47PM -0700 schrieb Mats Wichmann via Python-list: > >I had just hoped someone here might have a handy pointer for > >how to deal with modules having to be installed from pip for > >use with an apt-installed python-based application. > > That just shouldn't happen - su

Re: pip/pip3 confusion and keeping up to date

2023-11-06 Thread Mats Wichmann via Python-list
On 11/6/23 14:28, Karsten Hilbert via Python-list wrote: I had just hoped someone here might have a handy pointer for how to deal with modules having to be installed from pip for use with an apt-installed python-based application. That just shouldn't happen - such packages are supposed to be

Re: pip/pip3 confusion and keeping up to date

2023-11-06 Thread Karsten Hilbert via Python-list
Am Mon, Nov 06, 2023 at 08:58:00AM +0100 schrieb Dieter Maurer: > I know that debian packagers create debian packages > from Python distributions not using the approach sketched above > and likely they have their reasons. > > You might want to discuss this on an `apt` related mailing list. Yeah,

Re: pip/pip3 confusion and keeping up to date

2023-11-06 Thread Karsten Hilbert via Python-list
Am Mon, Nov 06, 2023 at 01:17:11AM - schrieb Jon Ribbens via Python-list: > >> >> Are they not available in your system's package manager? > >> > > >> > ... this clearly often answers to "no" for applications of > >> > any complexity. > >> > > >> > Is there a suggested proper path to deal with

Re: pip/pip3 confusion and keeping up to date

2023-11-06 Thread Dieter Maurer via Python-list
Karsten Hilbert wrote at 2023-11-5 23:19 +0100: > ... >do you happen to know where to read up on how to fit a pip >constraint file into a Debian package creation workflow ? I have only rudimentary `apt` knowledge. I know it is quite flexible, e.g. it used to handle `flash` in a special way. I exp

Re: pip/pip3 confusion and keeping up to date

2023-11-05 Thread Jon Ribbens via Python-list
On 2023-11-05, Karsten Hilbert wrote: > Am Fri, Nov 03, 2023 at 01:53:32PM - schrieb Jon Ribbens via Python-list: > >> >> Are they not available in your system's package manager? >> > >> > ... this clearly often answers to "no" for applications of >> > any complexity. >> > >> > Is there a sugg

Re: pip/pip3 confusion and keeping up to date

2023-11-05 Thread Karsten Hilbert via Python-list
Am Sun, Nov 05, 2023 at 03:00:41PM + schrieb Chris Green via Python-list: > > * contact every single maintainer of every single one of the packages > > that needs updating and persuade them to update their packages and > > reassure them that you are getting all the other package main

Re: pip/pip3 confusion and keeping up to date

2023-11-05 Thread Karsten Hilbert via Python-list
Am Fri, Nov 03, 2023 at 01:53:32PM - schrieb Jon Ribbens via Python-list: > >> Are they not available in your system's package manager? > > > > ... this clearly often answers to "no" for applications of > > any complexity. > > > > Is there a suggested proper path to deal with that (Debian is >

Re: pip/pip3 confusion and keeping up to date

2023-11-05 Thread Karsten Hilbert via Python-list
Am Fri, Nov 03, 2023 at 05:26:06PM +0100 schrieb Dieter Maurer: > Karsten Hilbert wrote at 2023-11-3 14:47 +0100: > > ... > >> Are they not available in your system's package manager? > > > >... this clearly often answers to "no" for applications of > >any complexity. > > > >Is there a suggested p

Re: pip/pip3 confusion and keeping up to date

2023-11-05 Thread Chris Green via Python-list
Jon Ribbens wrote: > On 2023-11-03, Karsten Hilbert wrote: > > Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via > > Python-list: > >> >So they now have only python3 and there is no python executable in > >> >PATH. > >> > >> FWIW, for this you install the little stub package pyt

Re: pip/pip3 confusion and keeping up to date

2023-11-05 Thread Jon Ribbens via Python-list
On 2023-11-05, Chris Green wrote: > Jon Ribbens wrote: >> On 2023-11-03, Karsten Hilbert wrote: >> > Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via >> > Python-list: >> >> >So they now have only python3 and there is no python executable in >> >> >PATH. >> >> >> >> FWIW, for

Re: pip/pip3 confusion and keeping up to date

2023-11-05 Thread Jon Ribbens via Python-list
On 2023-11-03, Karsten Hilbert wrote: > Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via > Python-list: >> >So they now have only python3 and there is no python executable in >> >PATH. >> >> FWIW, for this you install the little stub package python-is-python3. >> Especially if y

Re: pip/pip3 confusion and keeping up to date

2023-11-04 Thread Jon Ribbens via Python-list
On 2023-11-03, Karsten Hilbert wrote: > Am Thu, Nov 02, 2023 at 09:35:43PM - schrieb Jon Ribbens via Python-list: > > Regardless of ... > >> Because pip barely plays well by itself, let alone with other package >> managers at the same time. > > ... being true ... > >> > I do only install a few

Re: pip/pip3 confusion and keeping up to date

2023-11-04 Thread Karsten Hilbert via Python-list
Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via Python-list: > >So they now have only python3 and there is no python executable in > >PATH. > > FWIW, for this you install the little stub package python-is-python3. > Especially if you > want to keep a python2 installation around

Re: pip/pip3 confusion and keeping up to date

2023-11-03 Thread Dieter Maurer via Python-list
Karsten Hilbert wrote at 2023-11-3 14:47 +0100: > ... >> Are they not available in your system's package manager? > >... this clearly often answers to "no" for applications of >any complexity. > >Is there a suggested proper path to deal with that (Debian is >of interest to me here) ? Complex appli

Re: pip/pip3 confusion and keeping up to date

2023-11-03 Thread Karsten Hilbert via Python-list
Am Thu, Nov 02, 2023 at 09:35:43PM - schrieb Jon Ribbens via Python-list: Regardless of ... > Because pip barely plays well by itself, let alone with other package > managers at the same time. ... being true ... > > I do only install a few things using pip. > > Are they not available in you

Re: pip/pip3 confusion and keeping up to date

2023-11-03 Thread Chris Green via Python-list
Jon Ribbens wrote: > On 2023-11-02, Chris Green wrote: > > Jon Ribbens wrote: > >> On 2023-11-02, Chris Green wrote: > >> > I have a couple of systems which used to have python2 as well as > >> > python3 but as Ubuntu and Debian verions have moved on they have > >> > finally eliminated all depe

Re: pip/pip3 confusion and keeping up to date

2023-11-02 Thread Mats Wichmann via Python-list
On 11/2/23 04:58, Chris Green via Python-list wrote: I have a couple of systems which used to have python2 as well as python3 but as Ubuntu and Debian verions have moved on they have finally eliminated all dependencies on python2. So they now have only python3 and there is no python executable i

Re: pip/pip3 confusion and keeping up to date

2023-11-02 Thread Jon Ribbens via Python-list
On 2023-11-02, Chris Green wrote: > Jon Ribbens wrote: >> On 2023-11-02, Dieter Maurer wrote: >> > Chris Green wrote at 2023-11-2 10:58 +: >> >> ... >> >>So, going on from this, how do I do the equivalent of "apt update; apt >> >>upgrade" for my globally installed pip packages? >> > >> > `pi

Re: pip/pip3 confusion and keeping up to date

2023-11-02 Thread Jon Ribbens via Python-list
On 2023-11-02, Chris Green wrote: > Jon Ribbens wrote: >> On 2023-11-02, Chris Green wrote: >> > I have a couple of systems which used to have python2 as well as >> > python3 but as Ubuntu and Debian verions have moved on they have >> > finally eliminated all dependencies on python2. >> > >> > S

Re: pip/pip3 confusion and keeping up to date

2023-11-02 Thread Chris Green via Python-list
Jon Ribbens wrote: > On 2023-11-02, Chris Green wrote: > > I have a couple of systems which used to have python2 as well as > > python3 but as Ubuntu and Debian verions have moved on they have > > finally eliminated all dependencies on python2. > > > > So they now have only python3 and there is n

Re: pip/pip3 confusion and keeping up to date

2023-11-02 Thread Chris Green via Python-list
Jon Ribbens wrote: > On 2023-11-02, Dieter Maurer wrote: > > Chris Green wrote at 2023-11-2 10:58 +: > >> ... > >>So, going on from this, how do I do the equivalent of "apt update; apt > >>upgrade" for my globally installed pip packages? > > > > `pip list -o` will tell you for which packages

Re: pip/pip3 confusion and keeping up to date

2023-11-02 Thread Jon Ribbens via Python-list
On 2023-11-02, Chris Green wrote: > I have a couple of systems which used to have python2 as well as > python3 but as Ubuntu and Debian verions have moved on they have > finally eliminated all dependencies on python2. > > So they now have only python3 and there is no python executable in > PATH.

Re: pip/pip3 confusion and keeping up to date

2023-11-02 Thread Jon Ribbens via Python-list
On 2023-11-02, Dieter Maurer wrote: > Chris Green wrote at 2023-11-2 10:58 +: >> ... >>So, going on from this, how do I do the equivalent of "apt update; apt >>upgrade" for my globally installed pip packages? > > `pip list -o` will tell you for which packages there are upgrades > available. >

Re: pip/pip3 confusion and keeping up to date

2023-11-02 Thread Dieter Maurer via Python-list
Chris Green wrote at 2023-11-2 10:58 +: > ... >So, going on from this, how do I do the equivalent of "apt update; apt >upgrade" for my globally installed pip packages? `pip list -o` will tell you for which packages there are upgrades available. `pip install -U ...` will upgrade packages. Be c

Re: pip-sync

2023-07-24 Thread Larry Martell via Python-list
On Fri, Jul 21, 2023 at 11:08 AM Larry Martell wrote: > > I am trying to set up and maintain a venv with pip-sync. On my bare > metal I have the apparmor python package installed, but it is not > installed in my venv and it's not in my requirements file. When I run > pip-sync I get: > > Found exis

Re: pip-sync

2023-07-24 Thread Lars Liedtke via Python-list
Did maybe pip-sync create the venv with --system-site-packages (at least that's the commandline option for pip) I only saw behaviour like this so far, when my venv was with --system-site-packages and a package was installed by the system. Sorry for the first mess. Cheers Lars Lars Liedtke S

Re: pip-sync

2023-07-24 Thread Lars Liedtke via Python-list
This email contains a secure message that can be read by opening the attachment. Lars Liedtke Senior Software Developer [Tel.] [Fax] +49 721 98993- [E-Mail]l...@solute.de solute gmbh Zeppelinstraße 15 76185 Karlsruhe Germany [Logo Solute] Marken der solut

Re: pip install -e does not build shared libraries

2023-06-22 Thread Cebtenzzre via Python-list
It turns out that this is a scikit-build issue: https://github.com/scikit-build/scikit-build/issues/740 https://github.com/scikit-build/scikit-build/issues/939 https://github.com/scikit-build/scikit-build/issues/981 -- https://mail.python.org/mailman/listinfo/python-list

Re: pip install -e does not build shared libraries

2023-06-21 Thread Cebtenzzre via Python-list
On Wed, Jun 21, 2023 at 5:45 PM Cebtenzzre wrote: > In the case of bitsandbytes, there is no build folder generated at > all, just bitsandbytes.egg-info. This results in an error when I try > to import it, e.g. "CUDA SETUP: Required library version not found: > libbitsandbytes_cuda121_nocublaslt.s

Re: Pip Error

2023-05-17 Thread Thomas Passin
On 5/17/2023 10:54 AM, Aysu Mammadli wrote: I encountered an error while attempting to install pip using the terminal. The exact error message I received is: "An error occurred during configuration: option use-feature: invalid choice: '2020-resolver' (choose from 'fast-deps', 'truststore', 'no-b

Re: Pip Error

2023-05-17 Thread Barry
> On 17 May 2023, at 17:26, Aysu Mammadli wrote: > > I encountered an error while attempting to install pip using the terminal. > The exact error message I received is: > > "An error occurred during configuration: option use-feature: invalid > choice: '2020-resolver' (choose from 'fast-deps',

Re: pip module not found

2023-05-12 Thread Barry
> On 12 May 2023, at 21:59, Thomas Passin wrote: > > On 5/12/2023 2:42 AM, David John wrote: >> Hi, >> I recently have been experiencing issues with the pip installation module. >> I have python version 3.11 installed. I've checked the directory installed >> in the systems variables window and

Re: pip module not found

2023-05-12 Thread Thomas Passin
On 5/12/2023 2:42 AM, David John wrote: Hi, I recently have been experiencing issues with the pip installation module. I have python version 3.11 installed. I've checked the directory installed in the systems variables window and nothing is amiss. Kindly assist. It would be useful if you told u

Re: pip module not found

2023-05-12 Thread Thomas Passin
On 5/12/2023 1:45 PM, Barry wrote: On 12 May 2023, at 18:31, Thomas Passin wrote: On 5/12/2023 11:18 AM, Thomas Passin wrote: On 5/12/2023 2:42 AM, David John wrote: Hi, I recently have been experiencing issues with the pip installation module. I have python version 3.11 installed. I've ch

Re: pip module not found

2023-05-12 Thread Barry
> On 12 May 2023, at 18:31, Thomas Passin wrote: > > On 5/12/2023 11:18 AM, Thomas Passin wrote: >>> On 5/12/2023 2:42 AM, David John wrote: >>> Hi, >>> I recently have been experiencing issues with the pip installation module. >>> I have python version 3.11 installed. I've checked the directo

Re: pip module not found

2023-05-12 Thread Thomas Passin
On 5/12/2023 11:18 AM, Thomas Passin wrote: On 5/12/2023 2:42 AM, David John wrote: Hi, I recently have been experiencing issues with the pip installation module. I have python version 3.11 installed. I've checked the directory installed in the systems variables window and nothing is amiss. K

Re: pip module not found

2023-05-12 Thread Mats Wichmann
On 5/12/23 00:42, David John wrote: Hi, I recently have been experiencing issues with the pip installation module. How? Please be explicit or nobody can answer your question. -- https://mail.python.org/mailman/listinfo/python-list

Re: pip/setuptools: Entry points not visible from pkexec-root-environment

2022-12-19 Thread Chris Angelico
On Mon, 19 Dec 2022 at 19:38, wrote: > > Dear Chris, > thanks for asking back and my apologize for being to broad in my way of > asking (in a foreign language). > > Am 19.12.2022 07:40 schrieb Chris Angelico: > > Hmm, then I'm not sure what you're *losing* here. The problem, as I > > understand it

Re: pip/setuptools: Entry points not visible from pkexec-root-environment

2022-12-19 Thread c . buhtz
Dear Chris, thanks for asking back and my apologize for being to broad in my way of asking (in a foreign language). Am 19.12.2022 07:40 schrieb Chris Angelico: Hmm, then I'm not sure what you're *losing* here. The problem, as I understand it, is that the scripts are getting installed into /usr

Re: pip/setuptools: Entry points not visible from pkexec-root-environment

2022-12-18 Thread Chris Angelico
On Mon, 19 Dec 2022 at 17:30, wrote: > > Am 18.12.2022 22:37 schrieb Mats Wichmann: > > the which command uses your PATH, so I'm not sure you're buying > > anything new there > > I'm using which before entering pkexec. ;) > > I'll show a demonstrator project later. Hmm, then I'm not sure what

Re: pip/setuptools: Entry points not visible from pkexec-root-environment

2022-12-18 Thread c . buhtz
Dear Barry, thanks for reply and asking back. Am 18.12.2022 22:33 schrieb Barry: Why are asking on this list and discuss.python.org? To be exact I'm asking in the "Packaging" section of "discuss.python.org". To my knowledge that section is the official channel of "pypa/pip" project pointed t

Re: pip/setuptools: Entry points not visible from pkexec-root-environment

2022-12-18 Thread c . buhtz
Am 18.12.2022 22:37 schrieb Mats Wichmann: the which command uses your PATH, so I'm not sure you're buying anything new there I'm using which before entering pkexec. ;) I'll show a demonstrator project later. -- https://mail.python.org/mailman/listinfo/python-list

Re: pip/setuptools: Entry points not visible from pkexec-root-environment

2022-12-18 Thread Mats Wichmann
On 12/18/22 14:07, c.bu...@posteo.jp wrote: Dear Chris, thank you for your reply. Am 18.12.2022 20:27 schrieb Chris Angelico: Does it have to be in path? Can't you say /usr/local/bin/entrypointname? Not sure what constitutes an elegant solution here. I asked that myself. My current solution

Re: pip/setuptools: Entry points not visible from pkexec-root-environment

2022-12-18 Thread Barry
> On 18 Dec 2022, at 17:57, c.bu...@posteo.jp wrote: > > Hello, > > when I install a package on a GNU/Linux system via "sudo python3 -m pip > install -e ." that defines entry points in its pyproject.toml the entry > point starter scripts are located in /usr/locale/bin. > > That folder is in P

Re: pip/setuptools: Entry points not visible from pkexec-root-environment

2022-12-18 Thread c . buhtz
Dear Chris, thank you for your reply. Am 18.12.2022 20:27 schrieb Chris Angelico: Does it have to be in path? Can't you say /usr/local/bin/entrypointname? Not sure what constitutes an elegant solution here. I asked that myself. My current solution do determine the full path of the entrypoint

Re: pip/setuptools: Entry points not visible from pkexec-root-environment

2022-12-18 Thread Thomas Passin
Pip is fine for most packages, as it looks like you know. Some distros put some packages in unusual places, and those are the ones that either are not or should not be installed via pip. Which ones varies from distro to distro. (I just include this information here for others who haven't dis

Re: pip/setuptools: Entry points not visible from pkexec-root-environment

2022-12-18 Thread Chris Angelico
On Mon, 19 Dec 2022 at 04:56, wrote: > > Hello, > > when I install a package on a GNU/Linux system via "sudo python3 -m pip > install -e ." that defines entry points in its pyproject.toml the entry > point starter scripts are located in /usr/locale/bin. > > That folder is in PATH for "regular" roo

Re: pip/setuptools: Entry points not visible from pkexec-root-environment

2022-12-18 Thread c . buhtz
Dear Gerard, thank you for your reply. Am 18.12.2022 19:45 schrieb Weatherby,Gerard: "sudo python3 -m pip install -e ." You’ve already started down a problematic road. I recommend installing root level Python packages through your system package manager. (apt for debian, or whatever RedHat is u

Re: pip/setuptools: Entry points not visible from pkexec-root-environment

2022-12-18 Thread Weatherby,Gerard
"sudo python3 -m pip install -e ." You’ve already started down a problematic road. I recommend installing root level Python packages through your system package manager. (apt for debian, or whatever RedHat is using now). If a package you need isn’t available from the system level virtual envir

Re: pip issue

2022-11-30 Thread Thomas Passin
On 11/30/2022 1:49 PM, Gisle Vanem via Python-list wrote: Dieter Maurer wrote: Otherwise no issues. But where is this text "-arkupsafe" stored and how to get rid it it? I've searched through all of my .pth files and found no such string. Have you looked at the content of the folder mentioned

Re: pip issue

2022-11-30 Thread Gisle Vanem via Python-list
Dieter Maurer wrote: Otherwise no issues. But where is this text "-arkupsafe" stored and how to get rid it it? I've searched through all of my .pth files and found no such string. Have you looked at the content of the folder mentioned in the warnings (e.g. `...\site-packages`). I had 2 folde

Re: pip issue

2022-11-30 Thread Dieter Maurer
Gisle Vanem wrote at 2022-11-30 10:51 +0100: >I have an issue with 'pip v. 22.3.1'. On any >'pip install' command I get warning like this: > c:\> pip3 install asciinema > WARNING: Ignoring invalid distribution -arkupsafe > (f:\gv\python310\lib\site-packages) > WARNING: Ignoring invalid distr

Re: Pip upgrade causing issues in 3.10

2022-07-20 Thread Eryk Sun
On 7/20/22, Mike Dewhirst wrote: > On 20/07/2022 4:43 am, David Raymond wrote: >> C:\Program Files\Python310\Scripts>..\python.exe -m pip install --upgrade >> pip >> ERROR: Could not install packages due to an OSError: [WinError 32] The >> process cannot access the file because it is being used by

Re: Pip upgrade causing issues in 3.10

2022-07-19 Thread Mike Dewhirst
On 20/07/2022 4:43 am, David Raymond wrote: C:\Program Files\Python310\Scripts>..\python.exe -m pip install --upgrade pip ERROR: Could not install packages due to an OSError: [WinError 32] The process cannot access the file because it is being used by another process: 'c:\\program files\\python

Re: pip does not find after Python 3.10.4 installed

2022-05-26 Thread Eryk Sun
On 5/26/22, ANTHONY CHU wrote: > The Python 3.10.4 (64-bit) and Python Launcher had been (standard) installed > successfully. But I could not find pip anywhere. I uninstalled and > re-installed a couple of times, it is still the problem. I checked the > installed directory > C:\Users\x\AppDat

Re: pip does not find after Python 3.10.4 installed

2022-05-26 Thread ANTHONY CHU
I found that RAV Antivirus complains some processes even Python 3.10.4 installed successfully. Remove RAV and re-install Python; then everything goes OK. Thanks, On 05/26/2022 8:24 AM ANTHONY CHU wrote: > > > The Python 3.10.4 (64-bit) and Python Launcher had been (standard) > installe

Re: Pip not working

2022-01-07 Thread Mats Wichmann
On 1/5/22 01:29, Malick Lickta Keita wrote: > Hello I’ve installed the latest version of python but pip is not working If you want some help with that, you're going to have to provide some details - no person on earth who isn't sitting looking at your computer screen with you would know what is

Re: PIP Certificate problem

2021-12-27 Thread Chris Angelico
On Tue, Dec 28, 2021 at 8:00 AM Aniket wrote: > >I have reinstalled python, and repaired but no help at all. My version of >Python is 3.10.1 > What does "pip --version" tell you? ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: pip doesn't work

2021-08-13 Thread Dennis Lee Bieber
On Fri, 13 Aug 2021 10:19:36 +0530, Ridit declaimed the following: > So, whoever gets this, when I try to download packages using pip, it shows > errors saying "'pip' is not recognized as an internal or external command, > operable program or batch file." Is there a way to solve this? I tri

Re: pip doesn't work

2021-08-12 Thread Peter Otten
On 13/08/2021 06:49, Ridit wrote: So, whoever gets this, when I try to download packages using pip, it shows errors saying "'pip' is not recognized as an internal or external command, operable program or batch file." Is there a way to solve this? I tried modifying, even repairing

Re: Pip standard error warning about dependency resolver

2021-02-24 Thread Lars Liedtke
I understand your problem and I know that sometimes it is not possible to do it differently. But as far as my understanding goes, your backend operations should not die on outputs on stderr. I understand that is what return values are for and as long as the return value is 0 everything went without

Re: pip 20.3 release (heads-up for potential disruption)

2020-12-13 Thread Sumana Harihareswara
On 11/30/20 8:33 AM, Sumana Harihareswara wrote: On behalf of the Python Packaging Authority, I am pleased to announce that we have just released pip 20.3, a new version of pip. You can install it by running `python -m pip install --upgrade pip`. This is an important and disruptive release --

  1   2   3   >