-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装依赖时出错[Bug]: #1757
Comments
I also encountered the same problem as you. I tried to run pip install item by item and succeeded. |
我也是同样的问题,不知道怎么解决,搞了2小时了 |
ERROR: Cannot install fastapi-cli==0.0.2 and spacy==3.7.4 because these package versions have conflicting dependencies. The conflict is caused by: To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts |
Hi, Can I have your python's version? |
Hello, I think the key is that you did not restrict the version while you installed the dependencies by each, which means it will install the latest version automatically. In the specific project, a modified version of gradio was applied, which means |
您好, 这个问题应该是由于您安装了更高版本的 fastapi 导致的 请尝试 |
I notice a fastapi-cli==0.0.2 was uploaded yesterday, could this package leading to the problem? |
Macos 测试正常 |
maybe |
我用了 |
我尝试一条一条指令输入来安装库,在安装scipdf_parser时收到了这样的提示 |
请试试在requirement.txt里面加上一行 fastapi==0.110 |
现在应该大概已经解决了:43ed8cb |
确实有用,可以运行了,但是冲突依然是存在的
|
那如果 |
会引入其他冲突
|
还有什么其他好办法吗 |
卸载 fastapi-cli 或者降级到 fastapi-cli==0.0.1 可以解决 有趣的这个项目本身似乎用不到这个脚手架? |
cc @Merlinzy 能否麻烦您测试一下这个解决方案并反馈? |
卸载 fastapi-cli暂时没有产生影响,项目可以正常运行,fastapi没有0.0.1版本,我想你的意思可能是0.1,我安装了0.1,它不可用。我又重新安装了0.110可以正常运行。
没有遇到任何冲突 |
@Merlinzy 感谢反馈 是我打错了 我本意是 fastapi-cli 已修正 |
@binaryYuki 使用的是python 3.11 |
Hi @Luffy143 , 能否麻烦您测试一下这个解决方案并反馈? pip install Cython==0.29.36
pip install spacy==3.0.6 --no-build-isolation 谢谢 |
使用该解决方案会报 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
s3fs 2023.3.0 requires fsspec==2023.3.0, but you have fsspec 2024.3.1 which is incompatible. 但项目已经可以正常启动 |
This problem can be solved by an easy way, just change the version of python to 3.9, namely, when you create a new conda env, type |
Installation Method | 安装方法与平台
Pip Install (I used latest requirements.txt)
Version | 版本
Latest | 最新版
OS | 操作系统
Windows
Describe the bug | 简述
我分别尝试了安装方法Ⅰ(使用阿里源) 以及window一键安装脚本,在安装依赖时都会出现如下问题:
Screen Shot | 有帮助的截图
Using cached https://mirrors.aliyun.com/pypi/packages/6d/0d/4379e9aa35a444b6440ffe1af4c612533460e0d5ac5c7dca1f96ff6f2e23/spacy-3.0.6.tar.gz (7.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [164 lines of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
No response
The text was updated successfully, but these errors were encountered: