erreur d'installation de matplotlib et Getfem vers Python 3.9.0 à l'aide de la commande pip [duplicate]

Nov 01 2020

erreur pour matplotlib: ERREUR : Erreur de commande avec l'état de sortie 1: commande: 'c: \ users \ dell \ appdata \ local \ programmes \ 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' "'"', open) ( fichier ); code = f.read (). replace ('"'" '\ r \ n' "'"', '"'" '\ n' "'"'); f.close (); exec (compile (code, fichier , '"'" '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
Sortie complète (44 lignes): AVERTISSEMENT: le pack roue n'est pas disponible. ERREUR: Erreur de commande avec l'état de sortie 1: commande: 'c: \ users \ dell \ appdata \ local \ programs \ 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' "'"', open) ( fichier ); code = f.read (). replace ('"'" '\ r \ n' "'"', '"'" '\ n' "'"'); f.close (); exec (compile (code, fichier , '"'" 'exec' "'"')) 'bdist_wheel -d' C: \ Users \ DELL \ AppData \ Local \ Temp \ pip-wheel-gic8wjko 'cwd: C: \ Users \ DELL \ AppData \ Local \ Temp \ pip-wheel-pnxvu50s \ cppy
Sortie complète (6 lignes): utilisation: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ... ] ou: setup.py --help [cmd1 cmd2 ...] ou: setup.py --help-commands ou: 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.
----------------------------------------

ERREUR: la commande a échoué avec l'état de sortie 1: python setup.py egg_info Vérifiez les journaux pour une sortie de commande complète.

erreur pour getfem: ERREUR: Impossible de trouver une version qui satisfait à l'exigence getfem (à partir de versions: aucune) ERREUR: aucune distribution correspondante trouvée pour getfem

Quelqu'un peut-il me suggérer comment résoudre ces problèmes?

Réponses

1 aniket Nov 01 2020 at 09:59

désolé il n'y a pas de solution car matplotlib n'est pas encore pris en charge par python 3.9

vous pouvez résoudre ce problème en dégradant votre version de python en 3.85 ou 3.5

en fait python 3.9 est nouveau c'est pourquoi la roue n'est pas supportée par le matplotlib