“pip install e”仅在M上找不到雪花石膏==0.7.12

2024-10-03 13:28:31 发布

您现在位置:Python中文网/ 问答频道 /正文

Python3.7和Python18。macos 10.13版设置.py是:

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',
    ],
)

还有鸡蛋

cat requires.txt 
alabaster==0.7.12

当我运行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)

这很奇怪,因为运行pip search alabaster,我可以看到它列出了0.7.12的版本


Tags: installpipfrompyversionpackagessetupmacos