首页 > 解决方案 > "pip install -e" cannot find alabaster==0.7.12 only on MacOS

问题描述

python3.7 and pip18. macos 10.13 setup.py is:

from setuptools import setup, find_packages

setup(
    name='proxy-tools',
    version='1.0.0',
    packages=find_packages(),
    include_package_data=True,
    install_requires=[
        'alabaster==0.7.12',
    ],
)

and in egg

cat requires.txt 
alabaster==0.7.12

When I run pip install -e .

Collecting alabaster==0.7.12 (from proxy-tools==1.0.0)
  Could not find a version that satisfies the requirement alabaster==0.7.12 (from proxy-tools==1.0.0) (from versions: )
No matching distribution found for alabaster==0.7.12 (from proxy-tools==1.0.0)

which is odd, because running pip search alabaster, I could see it lists a version of 0.7.12

标签: pythonpip

解决方案


推荐阅读