Zenika / Zenika/POEI-Python-Rss

Error message during pip install

Đang mở
#3 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

@Bullfrog666 đang làm issue này rồi.

Từ ngày 14/4/2023.

Ngôn ngữ chính
Python
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.