I recently uploaded my Python package to PyPI. I also developed a web app depending on that package. I want to deploy my web app to Heroku. However, Heroku cannot find my package using pip.
It throws
ERROR: Could not find a version that satisfies the requirement lgp==0.0.2 (from versions: none)
ERROR: No matching distribution found for lgp==0.0.2
I tried pip install my package
on my local machine and it works fine. What's the possible reason for the failure on Heroku?
Thanks in advance.
Your package requires Python >=3.7
, make sure you are using a runtime with Python 3.7 or greater in 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.