<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Hi Fons,<br>
      <br>
      Le 2022-09-22 à 03 h 56, Fons Adriaensen a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:20220922075612.mlrixajiw2gz56fj@mail1.linuxaudio.cyso.net">
      <pre class="moz-quote-pre" wrap="">      error: invalid command 'bdist_wheel'</pre>
    </blockquote>
    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.<br>
    <br>
    <blockquote type="cite"
      cite="mid:20220922075612.mlrixajiw2gz56fj@mail1.linuxaudio.cyso.net">
      <pre class="moz-quote-pre" wrap="">python version is 3.10.5</pre>
    </blockquote>
    My system still use python version 3.8, so for a test I installed
    python version 3.10.5 using pyenv (<a class="moz-txt-link-freetext" href="https://github.com/pyenv/pyenv">https://github.com/pyenv/pyenv</a>) :<br>
    <br>
    pyenv install 3.10.5<br>
    <br>
    To create and activate a virtualenv for my test I used:<br>
    <a class="moz-txt-link-freetext" href="https://github.com/pyenv/pyenv-virtualenv">https://github.com/pyenv/pyenv-virtualenv</a><br>
    <br>
    pyenv virtualenv 3.10.5 zita<br>
    pyenv activate zita<br>
    <br>
    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"<br>
    <br>
    After my test session, I deactivated the virtualenv using "source
    deactivate", then I deleted the virtualenv using "pyenv
    virtualenv-delete zita"<br>
    <br>
    <blockquote type="cite"
      cite="mid:20220922075612.mlrixajiw2gz56fj@mail1.linuxaudio.cyso.net">
      <pre class="moz-quote-pre" wrap="">Another difference IIRC is that on my main system pip would set up
a virtual environment, while this doesn't seem to happen here.</pre>
    </blockquote>
    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".<br>
    <br>
    <blockquote type="cite"
      cite="mid:20220922075612.mlrixajiw2gz56fj@mail1.linuxaudio.cyso.net">
      <pre class="moz-quote-pre" wrap="">Have things changed again ????
</pre>
    </blockquote>
    Python is changing faster now, so testing on different versions is a
    good idea.<br>
    <br>
    Marc<br>
    <br>
    <br>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
      0px; height: 0px;"></div>
  </body>
</html>