在下载依赖的时候会遇到如下错误
ERROR: Failed building wheel for mpi4py
Building wheel for peewee (pyproject.toml) ... done
Created wheel for peewee: filename=peewee-3.17.1-py3-none-any.whl size=136905 sha256=8791a38a745f56f5f60a9aaac16f023a7dd9c01a5f64c6b6b158b7b33ca2fb6b
Stored in directory: /root/.cache/pip/wheels/3f/31/1c/bd752324b48a12909ed4d7dd1fc4d52977872f40996ada4aba
Building wheel for pycryptodome-test-vectors (setup.py) ... done
Created wheel for pycryptodome-test-vectors: filename=pycryptodome_test_vectors-1.0.14-py2.py3-none-any.whl size=12518669 sha256=016aa2abb90f08829c97ad32d0c2a2136cceb900fe6d405568651a8491396be4
Stored in directory: /root/.cache/pip/wheels/2b/f2/a6/7d7c84d70dfaabb34822d67ef7c84b00fadd3ee3037516d253
Building wheel for tika (setup.py) ... done
Created wheel for tika: filename=tika-2.6.0-py3-none-any.whl size=32621 sha256=6e79407a4a852ecfbc28d86a978355ace3b571b0d13d8177cf5babca2f8ee6c9
Stored in directory: /root/.cache/pip/wheels/2d/fa/a0/3db51d4c80a5efcd1820386bbb769c0160455d7a0b587bd16d
Successfully built demjson3 FlagEmbedding hanziconv peewee pycryptodome-test-vectors tika
Failed to build datrie mpi4py
ERROR: Could not build wheels for datrie, mpi4py, which is required to install pyproject.toml-based projects
自己也试着好多网上的方法,都不行,最后在一个老哥的帮助下解决了,这里pip安装是不行的,要执行
conda install mpi4py
然后选择敲”y“安装就成功啦
感谢观看,如果有用请点赞评论支持一下。