I am a package maintainer and have a library on pip - Django-spaghetti-and-meatballs .
setup.py
imports some code that clearly states it is version 0.2.0 But when users try to run pip install django-spaghetti-and-meatballs==0.2.0
they (and I) get:
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. 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.
Running:
python setup.py bdist_wheel upload
will rebuild the wheel and upload it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.