Re: [LAD] installing python extensions

2022-09-22 Thread Marc Lavallée
Le 2022-09-22 à 10 h 51, Fons Adriaensen a écrit : That was it, many thanks ! Yay! To it looked as if pip didn't know the bdist_wheel command, and indeed pip help-commands didn't include it. No indication at all that something else was missing... The relations and dependencies between the

Re: [LAD] installing python extensions

2022-09-22 Thread Fons Adriaensen
On Thu, Sep 22, 2022 at 09:49:41AM -0400, Marc Lavallée wrote: > Le 2022-09-22 à 03 h 56, Fons Adriaensen a écrit : > >error: invalid command 'bdist_wheel' > It looks like wheel is not installed (locally or globally). Try installing > it with "pip install wheel", or install it on the

Re: [LAD] installing python extensions

2022-09-22 Thread Marc Lavallée
Hi Fons, Le 2022-09-22 à 03 h 56, Fons Adriaensen a écrit : error: invalid command 'bdist_wheel' It looks like wheel is not installed (locally or globally). Try installing it with "pip install wheel", or install it on the system (python3-wheel on Debian); it could be enough to fix the

Re: [LAD] installing python extensions

2022-09-22 Thread Fons Adriaensen
On Mon, Aug 15, 2022 at 05:48:34PM -0400, Marc Lavallée wrote: > So the Makefile could be: > > PIP = python3 -m pip > PKG = zita_audiotools > > build: >     $(PIP) wheel . > > install: >     $(PIP) install --force-reinstall $(PKG)*.whl > > uninstall: >     $(PIP) uninstall $(PKG) > > clean:

Re: [LAD] installing python extensions

2022-08-15 Thread Christopher Arndt
Am 15.08.22 um 23:14 schrieb Marc Lavallée: Le 2022-08-15 à 15 h 21, Fons Adriaensen a écrit : sudo pip install . will install to /usr/local/lib When installing with the root user, the default prefix is /usr/local because /usr is usually managed by the system. Actually, it will install to

Re: [LAD] installing python extensions

2022-08-15 Thread Christopher Arndt
Am 15.08.22 um 21:21 schrieb Fons Adriaensen: I find the destination directory depending on who the user pretends to be a bit strange, but it works ! "pip install" as a normal user used to fail with an (apparently for most users) incomprehensible error message about not being able to write to

Re: [LAD] installing python extensions

2022-08-15 Thread Fons Adriaensen
On Mon, Aug 15, 2022 at 10:54:06AM -0400, Marc Lavallée wrote: > Christopher Arndt sent a long and detailed answer, here's a shorter one. One (metric) unit of Eternal Gratitude to both of you. So > pip install . will install to ~/.local/lib while > sudo pip install . will install to

Re: [LAD] installing python extensions

2022-08-15 Thread Christopher Arndt
Am 15.08.22 um 14:30 schrieb Fons Adriaensen: I have some mixed python/C++ packages, e.g. zita-audiotools and zita-jacktools. To install these I expect the following to happen: 1. The C++ parts are compiled and combined into a *.so file which is a python extension. 2. The *.so and the