Skip to content
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

pip 安装报错 #20683

Open
nmgxx opened this issue Jul 27, 2022 · 8 comments
Open

pip 安装报错 #20683

nmgxx opened this issue Jul 27, 2022 · 8 comments

Comments

@nmgxx
Copy link

nmgxx commented Jul 27, 2022

metadata-generation-failed大佬们这个问题怎么解决啊

@JKerbin
Copy link

JKerbin commented Aug 11, 2022

是安装demjson的问题,python3安装这个包的时候会出这个问题,是因为Setuptools从58.0.0开始不再支持2to3的builds。最简单的办法就是先手动降级Setuptools(使用pip install --upgrade setuptools==57.5.0
),然后再使用pip install gopup

@nmgxx
Copy link
Author

nmgxx commented Aug 15, 2022

感谢大佬,已解决。

@yangjunsss
Copy link

建议把错误信息(error in demjson setup command: use_2to3 is invalid.)写到标题中

@yangjunsss
Copy link

python3.9 环境,执行过程中还会报
Missing optional dependency 'openpyxl'. Use pip or conda to install openpyxl.
错误,按照提示 pip install openpyxl 即刻,可以执行成功

@FFFPrime
Copy link

FFFPrime commented Oct 8, 2022

metadata-generation-failed大佬们这个问题怎么解决啊

关键的错误信息是:error in demjson setup command: use_2to3 is invalid.

@wd1719
Copy link

wd1719 commented Nov 20, 2022

我是降级pip安装成功的

@kaykouo
Copy link

kaykouo commented Dec 13, 2022

降级Setuptools安装成功,但想等个更好的解决方案。

@shangzhaoxiaozi
Copy link

我是降级pip安装成功的

metoo,感谢大哥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants