在Mac OS上使用pip无法安装wstools

时间:2017-06-12 01:50:40

标签: python-2.7

我尝试使用以下命令从Mac OS安装wstools:pip install wstools

这是我收到的。关于为什么会发生这种情况的任何想法?

Downloading/unpacking wstools
  Running setup.py egg_info for package wstools
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/Users/MS/Downloads/build/wstools/setup.py", line 139, in <module>
        tests_require=get_requirements(base_path, 'requirements-dev.txt'),
      File "/Users/MS/Downloads/build/wstools/setup.py", line 129, in get_requirements
        reqs = parse_requirements(req_path, session=False)
    TypeError: parse_requirements() got an unexpected keyword argument 'session'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/Users/MS/Downloads/build/wstools/setup.py", line 139, in <module>

    tests_require=get_requirements(base_path, 'requirements-dev.txt'),

  File "/Users/MS/Downloads/build/wstools/setup.py", line 129, in get_requirements

    reqs = parse_requirements(req_path, session=False)

TypeError: parse_requirements() got an unexpected keyword argument 'session'

----------------------------------------
Command python setup.py egg_info failed with error code 1

0 个答案:

没有答案