我在https://pypi.org/project/core-lib/0.0.1.dev1/中部署了一个包
但是pycharm或heroku找不到包含此错误消息的包
你能帮帮我吗?
谢谢
Pycharm
No matching package version found: 'core-lib==0.0.1.dev1' (required: ==0.0.1.dev1, installed: <nothing>, latest: <nothing>)heroku部署
-----> Installing requirements with pip
ERROR: Could not find a version that satisfies the requirement core-lib==0.0.0.8 (from -r /tmp/build_c6b601b1/requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for core-lib==0.0.0.8 (from -r /tmp/build_c6b601b1/requirements.txt (line 1))
! Push rejected, failed to compile Python app.
! Push failed发布于 2021-03-14 08:52:41
使用PyCharm从pypi安装包,我可以找到它
(randomtesting) C:\Users\User\PycharmProjects\randomtesting>pip list
Package Version
---------------------- -------------------
core-lib 0.0.1.dev1也许这个文件是最近才被放进pypi的?
我又查了一遍链接,现在它有了最新版本。试试这个?
pip install core-lib发布于 2021-03-14 13:02:20
您已经使用了已声明,您的包必须在PythonJava3.7下使用。请确保您使用的Python版本足够高。例如,我试图用Python2.7安装软件包,但pip未能找到该项目。使用Python3.7成功地安装了它。
https://stackoverflow.com/questions/66622456
复制相似问题