【发布时间】:2022-08-04 08:40:43
【问题描述】:
这是我的 setup.py:
install_requires=[
\"Django\",
\"djangorestframework\",
],
但是,当我尝试安装我的库时,它给了我这个错误:
ERROR: Could not find a version that satisfies the requirement djangorestframework (from my-library) (from versions: none)
ERROR: No matching distribution found for djangorestframework
我的 setup.py 有什么问题?我检查了 django rest 框架的主页,它说我可以使用这个命令安装它:pip install djangorestframework