ubuntu安装celery报错 encountered error while generating package metadata
ubuntu安装celery报错 encountered error while generating package metadataPreparing metadata (setup.py) ... errorerror: subprocess-exited-with-error× python setup.py egg_info did not run successfully.│ exit
ubuntu安装celery报错 encountered error while generating package metadata
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in anyjson setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
解决办法:
此时系统python版本为3.10.4
降级到3.5版本
sudo apt-get install python3.5
更多推荐
所有评论(0)