errore di installazione per matplotlib e Getfem su Python 3.9.0 utilizzando il comando pip [duplicato]

Nov 01 2020

errore per matplotlib: ERRORE: comando errato con stato di uscita 1: comando: 'c: \ users \ dell \ appdata \ local \ programmi \ python \ python39 \ python.exe' -c 'import sys, setuptools, tokenize; sys.argv [0] = '"'" 'C: \ Users \ DELL \ AppData \ Local \ Temp \ pip-install-lk203f52 \ kiwisolver \ setup.py' "'"'; file = '"'" 'C: \ Users \ DELL \ AppData \ Local \ Temp \ pip-install-lk203f52 \ kiwisolver \ setup.py' "'"'; f = getattr (tokenize, '"'" 'open' "'"', apri) ( file ); codice = f.read (). replace ('"'" '\ r \ n' "'"', '"'" '\ n' "'"'); f.close (); exec (compile (code, file , '"'" 'exec' "'"')) 'egg_info --egg-base' C: \ Users \ DELL \ AppData \ Local \ Temp \ pip- pip-egg-info-6zgl71vj 'cwd: C: \ Users \ DELL \ AppData \ Local \ Temp \ pip-install-lk203f52 \ kiwisolver
Uscita completa (44 linee): ATTENZIONE: Il pacchetto ruote non è disponibile. ERRORE: comando errato con stato di uscita 1: comando: 'c: \ users \ dell \ appdata \ local \ programmi \ python \ python39 \ python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv [0] = '"'" 'C: \ Users \ DELL \ AppData \ Local \ Temp \ pip-wheel-pnxvu50s \ cppy \ setup.py' "'"'; file = '"'" 'C: \ Users \ DELL \ AppData \ Local \ Temp \ pip-wheel-pnxvu50s \ cppy \ setup.py' "'"'; f = getattr (tokenize, '"'" 'open' "'"', apri) ( file ); codice = f.read (). replace ('"'" '\ r \ n' "'"', '"'" '\ n' "'"'); f.close (); exec (compile (code, file , '"'" 'exec' "'"')) 'bdist_wheel -d' C: \ Users \ DELL \ AppData \ Local \ Temp \ pip-wheel-gic8wjko 'cwd: C: \ Users \ DELL \ AppData \ Local \ Temp \ pip-wheel-pnxvu50s \ cppy
Output completo (6 righe): utilizzo: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ... ] o: setup.py --help [cmd1 cmd2 ...] o: setup.py --help-commands o: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for cppy
ERROR: Failed to build one or more wheels
Traceback (most recent call last):
  File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\setuptools\installer.py", line 128, in fetch_build_egg
    subprocess.check_call(cmd)
  File "c:\users\dell\appdata\local\programs\python\python39\lib\subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['c:\\users\\dell\\appdata\\local\\programs\\python\\python39\\python.exe', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\\Users\\DELL\\AppData\\Local\\Temp\\tmph6ki1vco', '--quiet', 'cppy>=1.1.0']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\DELL\AppData\Local\Temp\pip-install-lk203f52\kiwisolver\setup.py", line 59, in <module>
    setup(
  File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\setuptools\__init__.py", line 164, in setup
    _install_setup_requires(attrs)
  File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\setuptools\__init__.py", line 159, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\setuptools\dist.py", line 699, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\pkg_resources\__init__.py", line 779, in resolve
    dist = best[req.key] = env.best_match(
  File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\pkg_resources\__init__.py", line 1064, in best_match
    return self.obtain(req, installer)
  File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\pkg_resources\__init__.py", line 1076, in obtain
    return installer(requirement)
  File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\setuptools\dist.py", line 758, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\setuptools\installer.py", line 130, in fetch_build_egg
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['c:\\users\\dell\\appdata\\local\\programs\\python\\python39\\python.exe', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\\Users\\DELL\\AppData\\Local\\Temp\\tmph6ki1vco', '--quiet', 'cppy>=1.1.0']' returned non-zero exit status 1.
----------------------------------------

ERRORE: comando errato con stato di uscita 1: python setup.py egg_info Controlla i log per l'output completo del comando.

errore per getfem: ERRORE: impossibile trovare una versione che soddisfi il requisito getfem (dalle versioni: nessuna) ERRORE: nessuna distribuzione corrispondente trovata per getfem

Qualcuno può suggerirmi come correggere questi problemi?

Risposte

1 aniket Nov 01 2020 at 09:59

spiacente non c'è soluzione perché matplotlib non è ancora supportato da python 3.9

puoi risolvere questo problema degradando la tua versione di python a 3.85 o 3.5

in realtà python 3.9 è nuovo, ecco perché la ruota non è supportata da matplotlib