51Testing软件测试论坛
标题: easy_install 的安装 [打印本页]
作者: gyz644 时间: 2019-2-27 15:20
标题: easy_install 的安装
easy_install 的安装安装 easy_install 的时候好像出错了, 为啥? 以下是错误信息:
C:\Users\Curve\Documents\Python\installer\easyinstall\setuptools-15.0\setuptools-15.0>python setup.py install
Traceback (most recent call last):
File "setup.py", line 21, in <module>
exec(init_file.read(), command_ns)
File "<string>", line 11, in <module>
File "C:\Users\Curve\Documents\Python\installer\easyinstall\setuptools-15.0\setuptools-15.0\setuptools\__init__.py", line 11, in <module>
from setuptools.extension import Extension
File "C:\Users\Curve\Documents\Python\installer\easyinstall\setuptools-15.0\setuptools-15.0\setuptools\extension.py", line 8, in <module>
from .dist import _get_unpatched
File "C:\Users\Curve\Documents\Python\installer\easyinstall\setuptools-15.0\setuptools-15.0\setuptools\dist.py", line 19, in <module>
import pkg_resources
File "C:\Users\Curve\Documents\Python\installer\easyinstall\setuptools-15.0\setuptools-15.0\pkg_resources\__init__.py", line 1718, in <module>
register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
在学课程:
RobotFramework自动化测试框架快速入门
作者: 学掌门网校 时间: 2019-2-27 15:42
这个问题你检查一下,下载的安装包和python版本是否一致。
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) |
Powered by Discuz! X3.2 |