如何获得pip来安装特定版本的meld?

时间:2016-10-11 03:54:23

标签: python pip meld

在尝试遵循本指南时https://rayed.com/wordpress/?p=1496我试图让主管生成其conf文件,但它失败了因为它需要meld3> = 0.6.5并且显然meld3 1.0.2不计算。在https://github.com/puphpet/puphpet/issues/1492上尝试了各种解决方案后,我想跟随pbylina建议降级到meld3 1.0.0,但与pbylina不同,当我尝试安装该版本的meld时出现错误:

# pip install meld3==1.0.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
Collecting meld3==1.0.0
/usr/lib/python2.6/site-packages/pip-8.1.2-py2.6.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/lib/python2.6/site-packages/pip-8.1.2-py2.6.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading meld3-1.0.0.tar.gz
    Complete output from command python setup.py egg_info:
    /usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'install_requires'
      warnings.warn(msg)
    /usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'test_suite'
      warnings.warn(msg)
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: -c --help [cmd1 cmd2 ...]
       or: -c --help-commands
       or: -c cmd --help

    error: invalid command 'egg_info'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-zhFMlS/meld3/

如何从1.0.2降级到1.0.0?

0 个答案:

没有答案