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 issue.
python version is 3.10.5
My system still use
python version 3.8, so for a test I installed python
version 3.10.5 using pyenv (
https://github.com/pyenv/pyenv) :
pyenv install 3.10.5
To create and activate a virtualenv for my test I used:
https://github.com/pyenv/pyenv-virtualenv
pyenv virtualenv 3.10.5 zita
pyenv activate zita
But that was not enough; compiling your extension failed because wheel
is missing in the virtualenv, so I installed it using "python3 -m pip
install wheel", then compiling succeeded. There was one warning about
the version of pip; to avoid it (before compiling): "python3 -m pip
install --upgrade pip"
After my test session, I deactivated the virtualenv using "source
deactivate", then I deleted the virtualenv using "pyenv
virtualenv-delete zita"
Another difference IIRC is that on my main system pip
would set up
a virtual environment, while this doesn't seem to happen here.
To my knowledge,
pip does not install a virtual environment, but a
virtual environment includes pip. Because wheel is not installed by
default, adding a build step (in the makefile) could help: "$(PIP)
install wheel".
Have things changed again ????
Python is
changing faster now, so testing on different versions is a
good idea.
Marc