要构建并运行本地实例,我将遵循

然后我进入运行以下命令的步骤

pip install -r requirements.txt

一切似乎都安装得很好,然后我得到了

INFO: pip is looking at multiple versions of <package>

然后

ERROR: Could not find a version that satisfies the requirement pywin32==227; sys_platform == "win32" (from docker) (from versions: 302, 303)
ERROR: No matching distribution found for pywin32==227; sys_platform == "win32"

这是输出的最后一位

Collecting cssselect>0.7.9
  Using cached cssselect-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting lxml>=2.1
  Using cached lxml-4.8.0-cp310-cp310-win_amd64.whl (3.6 MB)
INFO: pip is looking at multiple versions of django-crispy-forms to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django-formtools to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of markdown to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of regex to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of stripe to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django-kombu to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pytz to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django-gravatar2 to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of orjson to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of python-dateutil to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyquery to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of selectolax to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django-elasticsearch-dsl to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of elasticsearch-dsl to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of elasticsearch to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of gitpython to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of requests-oauthlib to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django-allauth to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of celery to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of redis to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pygments to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyyaml to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of slumber to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of requests-toolbelt to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of jsonfield to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django-vanilla-views to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of drf-extensions to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of drf-flex-fields to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django-filter to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of sphinx to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of djangorestframework to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django-simple-history to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django-autoslug to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django-polymorphic to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django-extensions to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of virtualenv to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pip to determine which version is compatible with other requirements. This could take a while.
Collecting pip==22.0.4
  Using cached pip-22.0.4-py3-none-any.whl (2.1 MB)
ERROR: Could not find a version that satisfies the requirement pywin32==227; sys_platform == "win32" (from docker) (from versions: 302, 303)
ERROR: No matching distribution found for pywin32==227; sys_platform == "win32"

推荐答案

您使用的是Python3.10,PyPi for pywin32==227上没有whl文件.try 使用较低版本的python进行安装,例如3.9

Python-3.x相关问答推荐

While循环不停止地等待,直到时间.睡眠结束

基于另一个数据帧计算总和

从另一个云函数调用带有仅允许内部流量标志的云函数时出现问题

转换Pandas 数据框 - 添加行

如何将搜索结果中的所有值保存在另一个列表中?

裁剪复数以解决 exp 中的溢出错误

为什么 return node.next 会返回整个链表?

Pandas 按值和索引对 DF 进行排序

如何在Pandas 中按条件计算分组?

如何在带有 GUI 的 python 游戏中设置回答时间限制?

没有可重定向到的 URL.提供一个 url 或在模型上定义一个 get_absolute_url 方法

内部如何使用 Python 语法?

如何通过python打开文件

Python:遍历子列表

Python3 mysqlclient-1.3.6(又名 PyMySQL)的用法?

所有 Python dunder 方法的列表 - 您需要实现哪些方法才能正确代理对象?

matplotlib - 模块sip没有属性setapi

在 Python 中生成马尔可夫转移矩阵

如何更改 tkinter 文本小部件中某些单词的 colored颜色 ?

十六进制字符串到 Python 3.2 中的带符号整数?