下载tabula时获取setuptools版本冲突

时间:2017-08-21 14:52:52

标签: python pip setuptools tabula

我正在尝试将我的项目移到另一台机器上,但设置有些困难。这里的问题是:

当我为包python setup.py install运行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'))

这是在我的工作电脑上,所以我真的只是通过点子或类似的东西来做这个超级。有什么建议吗?

0 个答案:

没有答案