Code Monkey home page Code Monkey logo

Comments (9)

PeterDing avatar PeterDing commented on June 19, 2024

请贴出完整的错误输出,上面的信息太少。

from baidupcs-py.

ldj46118 avatar ldj46118 commented on June 19, 2024

已回复邮箱,请帮忙查看!

from baidupcs-py.

ldj46118 avatar ldj46118 commented on June 19, 2024

请看附件

from baidupcs-py.

ldj46118 avatar ldj46118 commented on June 19, 2024

请看附件

from baidupcs-py.

PeterDing avatar PeterDing commented on June 19, 2024

在 Windows 上,BaiduPCS-Py 依赖 Microsoft C++ Build Tools

在安装 BaiduPCS-Py 前,请先安装 Microsoft C++ Build Tools,再在其中勾选 C++ 生成工具 并安装。完成后即可安装 BaiduPCS-Py。

from baidupcs-py.

OnePerson2020 avatar OnePerson2020 commented on June 19, 2024

请问Ubuntu也报这样的错要怎么解决呀?
ERROR: Failed building wheel for BaiduPCS-Py
Failed to build BaiduPCS-Py
ERROR: Could not build wheels for BaiduPCS-Py which use PEP 517 and cannot be installed directly

from baidupcs-py.

PeterDing avatar PeterDing commented on June 19, 2024

@OnePerson2020 需要 pip3 install --upgrade pip setuptools wheel

from baidupcs-py.

OnePerson2020 avatar OnePerson2020 commented on June 19, 2024

from baidupcs-py.

nikerck avatar nikerck commented on June 19, 2024

这个命令试过了,但是报相同的错欸。

------------------ 原始邮件 ------------------ 发件人: "PeterDing/BaiduPCS-Py" @.>; 发送时间: 2021年10月16日(星期六) 上午9:24 @.>; @.@.>; 主题: Re: [PeterDing/BaiduPCS-Py] Building wheel for BaiduPCS-Py (PEP 517): finished with status 'error' (#17) @OnePerson2020 需要 pip3 install --upgrade pip setuptools wheel — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

我在centos8遇到跟你同样问题。

ERROR: Could not build wheels for BaiduPCS-Py which use PEP 517 and cannot be installed directly

我通过以下方式解决

python -m pip install --upgrade pip
python -m pip install --upgrade setuptools

后续我遇到第二个问题

ERROR: Failed building wheel for BaiduPCS-Py
ERROR: Could not build wheels for BaiduPCS-Py, which is required to install pyproject.toml-based projects

我往上寻找发现,因为缺少Python.h

fatal error: Python.h: No such file or directory

通过安装 python-dev 或 python-devel 包解决

dnf install python39-devel  # 我这里用的是python3.9

希望对你有帮助

from baidupcs-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.