Zenika / Zenika/POEI-Python-Rss

Error message during pip install

未关闭
#3 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@Bullfrog666 已经在做这个了。

开始于 2023年4月14日。

主要语言
Python
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。