我有以下问题,我的软件包已发布但无法安装:
$ pip search "intellimatch"
intellimatch (0.1.0) - Intelligent matching/textsearch/cli interactivity that works for humans
$ pip install intellimatch
Collecting intellimatch
Could not find a version that satisfies the requirement intellimatch (from versions: )
No matching distribution found for intellimatch
$ pip install intellimatch==0.1.0
Collecting intellimatch==0.1.0
Could not find a version that satisfies the requirement intellimatch==0.1.0 (from versions: )
No matching distribution found for intellimatch==0.1.0
它在 https://bitbucket.org/codyc54321/intellimatch
setup.py
看起来像
from setuptools import setup
setup(
name='intellimatch',
version='0.1.0',
description='Intelligent matching/textsearch/cli interactivity that works for humans',
url='https://bitbucket.org/codyc54321/intellimatch',
author='codyc4321',
license='MIT',
packages=['intellimatch'],
install_requires=[],
zip_safe=False,
)
这是一个基本的包,有 1 个文件夹,intellimatch
个,没有依赖项,只是使用 Python。
pypi 没有您的项目存档。请参阅以下步骤。
$ pip install intellimatch -vvv
这将显示调试回溯。
url指向没有软件包存档 https://pypi.python.org/simple/intellimatch/,因此它不会下载和安装您的软件包。从搭便车指南中获取,使用以下命令上传您的包裹的分发。
$ python setup.py register sdist upload
pip 从 PyPI 下载软件包。https://pypi.python.org/pypi/intellimatch 没有软件包,因此无需下载和安装。
给点一个VCS网址:
pip install git+https://bitbucket.org/codyc54321/intellimatch/src?egg=intellimatch