我正在尝试将我的项目移动到另一台机器上,但在设置时遇到了一些困难。这里的问题是:
当我python setup.py install
为 package 运行命令时tabula
,我收到一条错误消息:
C:\Users\CeonzoJ\Desktop\tabula-py-master>pip install --upgrade setuptools
Could not fetch URL https://pypi.python.org/simple/setuptools/: There was a prob
lem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate
verify failed (_ssl.c:748) - skipping
Requirement already up-to-date: setuptools in c:\users\ceonzoj\appdata\local\pro
grams\python\python36-32\lib\site-packages
C:\Users\CeonzoJ\Desktop\tabula-py-master>python setup.py install
Traceback (most recent call last):
File "setup.py", line 42, in <module>
'requests',
File "C:\Users\CeonzoJ\AppData\Local\Programs\Python\Python36-32\lib\distutils
\core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "C:\Users\CeonzoJ\AppData\Local\Programs\Python\Python36-32\lib\site-pack
ages\setuptools\dist.py", line 315, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "C:\Users\CeonzoJ\AppData\Local\Programs\Python\Python36-32\lib\site-pack
ages\setuptools\dist.py", line 361, in fetch_build_eggs
replace_conflicting=True,
File "C:\Users\CeonzoJ\AppData\Local\Programs\Python\Python36-32\lib\site-pack
ages\pkg_resources\__init__.py", line 850, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "C:\Users\CeonzoJ\AppData\Local\Programs\Python\Python36-32\lib\site-pack
ages\pkg_resources\__init__.py", line 1115, in best_match
dist = working_set.find(req)
File "C:\Users\CeonzoJ\AppData\Local\Programs\Python\Python36-32\lib\site-pack
ages\pkg_resources\__init__.py", line 719, in find
raise VersionConflict(dist, req)
pkg_resources.VersionConflict: (setuptools 28.8.0 (c:\users\ceonzoj\appdata\loca
l\programs\python\python36-32\lib\site-packages), Requirement.parse('setuptools>
=30'))
这是在我的工作计算机上,所以我真的不能简单地通过 pip 或类似的东西来做这个超级。有什么建议么?