知识库

Python开发中常见问题解决方案

2025-01-01 09:00:52 李腾 1 次阅读

1、ModuleNotFoundError: No module named 'distutils'。

在python 3.12中,distutils已经被移除。安装以下模块即可。

pip install setuptools

2、ValueError: invalid mode: 'rU' while trying to load binding.gyp。

在python 3.11中,U模式已经被移除。删除U即可。

转载请注明转自www.hylab.cn,原文地址:Python开发中常见问题解决方案

评论 (0)

登录后发表评论

暂无评论,快来发表第一条评论吧!