Zenika / Zenika/POEI-Python-Rss

Error message during pip install

Ouverte
#3 2 commentaires 0 réactions 1 personne assignée Voir sur GitHub

@Bullfrog666 y travaille déjà.

Depuis le 14/4/2023.

Langage dominant
Python
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

During pip install, I had the following error message

Collecting colorama
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Installing collected packages: sgmllib3k, MarkupSafe, itsdangerous, feedparser, colorama, Werkzeug, Jinja2, click, Flask
  DEPRECATION: sgmllib3k is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for sgmllib3k ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for sgmllib3k did not run successfully.
  │ exit code: 1
  ╰─> [11 lines of output]
      running install
      C:\Python311\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build\lib
      copying sgmllib.py -> build\lib
      running install_lib
      byte-compiling C:\Python311\Lib\site-packages\sgmllib.py to sgmllib.cpython-311.pyc
      error: [Errno 13] Permission denied: 'C:\\Python311\\Lib\\site-packages\\__pycache__\\sgmllib.cpython-311.pyc.1506104212016'   
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> sgmllib3k

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.