简体   繁体   English

不能用pip从pypi安装

[英]Can't install from pypi with pip

I am a package maintainer and have a library on pip - Django-spaghetti-and-meatballs . 我是一个软件包维护者,并在pip上有一个库 - Django-spaghetti-and-meatballs

But when users try to run pip install django-spaghetti-and-meatballs==0.2.0 they (and I) get: 但是当用户尝试运行pip install django-spaghetti-and-meatballs==0.2.0他们(和我)得到:

legostormtroopr:~/workspace $ pip install django-spaghetti-and-meatballs==0.2.0
Downloading/unpacking django-spaghetti-and-meatballs==0.2.0
  Could not find a version that satisfies the requirement django-spaghetti-and-meatballs==0.2.0 (from versions: 0.1.0, 0.1.0rc5, 0.1.1)
Cleaning up...
No distributions matching the version for django-spaghetti-and-meatballs==0.2.0
Storing debug log for failure in /home/ubuntu/.pip/pip.log

What have I done wrong? 我做错了什么?


PS. PS。 It feels a little spammy to link to the library and such, but its a problem and I felt it better to point to the problem directly. 链接到图书馆等感觉有点垃圾,但这是一个问题,我觉得直接指向问题更好。

By looking at the list at: https://pypi.python.org/simple/django-spaghetti-and-meatballs/ you could see that the wheel had not been uploaded. 通过查看以下列表: https//pypi.python.org/simple/django-spaghetti-and-meatballs/,您可以看到车轮尚未上传。

Running: 运行:

python setup.py bdist_wheel upload

will rebuild the wheel and upload it. 将重建轮子并上传它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM