请问如果没有安装依赖,那么可能会产生哪些问题呢?因为可能不会在arch版本的linux上使用它,而是在其他版本的linux比如ubuntu、Cantos等,在这些版本的linux上使用的时候,是否需要安装依赖呢?
您好,我用 pip install taichi 安装 taichi 1.30 报以下的错误
我的系统环境是:
- Windows 11,64位
- python 3.10 64位
- pip 版本:22.3.1
- 目前 pip 里面 仅 安装了 setuptools
请问下面的报错意思,是 要我去手工安装 numpy吗?如果是,那么 应该安装 numpy 多少版本?
详细报错信息如下:
C:\Users\myy>pip install taichi
Collecting taichi
Using cached taichi-1.3.0-cp310-cp310-win_amd64.whl (22.6 MB)
Collecting colorama
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting rich
Using cached rich-12.6.0-py3-none-any.whl (237 kB)
Collecting sourceinspect>=0.0.4
Using cached sourceinspect-0.0.4-py3-none-any.whl (3.5 kB)
Collecting taichi
Using cached taichi-1.2.2-cp310-cp310-win_amd64.whl (18.9 MB)
Using cached taichi-1.2.1-cp310-cp310-win_amd64.whl (19.1 MB)
Using cached taichi-1.2.0-cp310-cp310-win_amd64.whl (19.1 MB)
Using cached taichi-1.1.3-cp310-cp310-win_amd64.whl (19.1 MB)
Using cached taichi-1.1.2-cp310-cp310-win_amd64.whl (18.9 MB)
Using cached taichi-1.1.0-cp310-cp310-win_amd64.whl (18.9 MB)
Using cached taichi-1.0.4-cp310-cp310-win_amd64.whl (19.0 MB)
Using cached taichi-1.0.3-cp310-cp310-win_amd64.whl (18.5 MB)
Using cached taichi-1.0.2-cp310-cp310-win_amd64.whl (21.8 MB)
Using cached taichi-1.0.1-cp310-cp310-win_amd64.whl (18.3 MB)
Using cached taichi-1.0.0-cp310-cp310-win_amd64.whl (18.3 MB)
Using cached taichi-0.9.2-cp310-cp310-win_amd64.whl (18.2 MB)
Collecting astor
Using cached astor-0.8.1-py2.py3-none-any.whl (27 kB)
ERROR: Cannot install taichi==0.9.2, taichi==1.0.0, taichi==1.0.1, taichi==1.0.2, taichi==1.0.3, taichi==1.0.4, taichi==1.1.0, taichi==1.1.2, taichi==1.1.3, taichi==1.2.0, taichi==1.2.1, taichi==1.2.2 and taichi==1.3.0 because these package versions have conflicting dependencies.
The conflict is caused by:
taichi 1.3.0 depends on numpy
taichi 1.2.2 depends on numpy
taichi 1.2.1 depends on numpy
taichi 1.2.0 depends on numpy
taichi 1.1.3 depends on numpy
taichi 1.1.2 depends on numpy
taichi 1.1.0 depends on numpy
taichi 1.0.4 depends on numpy
taichi 1.0.3 depends on numpy
taichi 1.0.2 depends on numpy
taichi 1.0.1 depends on numpy
taichi 1.0.0 depends on numpy
taichi 0.9.2 depends on numpy
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
看起来是安装多个版本的Taichi, 你可以设置一下Taichi安装的版本。
pip install --force-reinstall taichi==1.3.0
。
指定版本后可以安装了,谢谢。