解决问题:No module named 'setuptools._distutils' 朱明光 专注区块链技术 来自专栏 · 我的Python秀飞了 说明 最近使用pip安装python包报错,提示如下错误: File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/
ModuleNotFoundError: No module named 'distutils' 这是由于只有当python的版本介于3.4-3.11版本间时,python才提供了distutils模块,这间接的说明了,我们当前正在安装模块依赖的python版本为3.4-3.11,所以解决该问题的的根本的方法是将当前python的版本切换至3.4-3.11版本间(而不是在其它的版本下安装所谓的distutils模块)...
return importlib.import_module('._distutils', 'setuptools') File "/opt/python/3.7.1/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) ModuleNotFoundError: No module named 'setuptools._distutils' setup_requires, b...
问ModuleNotFoundError:没有名为“setuptools._distutils”的模块EN当我在python中安装下面的软件包时,我...
问Pyinstaller: ModuleNotFoundError:没有名为“setuptools._distutils”的模块EN我是刚刚学习python的小白...
Hello, My Python lambdas started to suddenly fail with the following error: ERROR] Runtime.ImportModuleError: Unable to import module 'src/mycode': No module named 'setuptools._distutils' I haven't changed anything in my own code, I just...
***重点*** 上两步运行的时候会报如下错误 No module named 'distutils.core' 这时用以下方法进行解决 sudo apt-get install python-distutils 当然,如果是ubuntu18这种默认只有python3的,那么运行 sudo apt-get install python3-distutils
python打包程序为exe时,报错ModuleNotFoundError:No module named setuptools._distutils 报错ModuleNotFoundError:No module named setuptools._distutils 如图 原因:setuptools版本太高,需要重新安装低于5.0.0的版本 -解决:如安装低版本的setuptools:pip install setuptools==49.1.2 记录学习的点点滴滴...
from distutils.core import setup # 定义发布的包文件的信息 setup( name="damu_pkg01", # 发布的包文件名称 version="1.0", # 发布的包的版本序号 description="我的测试包", # 发布包的描述信息 author="大千世界", # 发布包的作者信息 author_email="damu@", # 作者联系邮箱信息 ...
self.run_command(cmd)File"D:\anaconda3\envs\py37\lib\distutils\dist.py",line985,inrun_command cmd_obj.run()File"D:\anaconda3\envs\py37\lib\site-packages\setuptools\command\egg_info.py",line299,inrun self.find_sources()File"D:\anaconda3\envs\py37\lib\site-packages\setuptools\command...