运行 pip install -rrequirements.txt 时出错
要构建并运行本地实例,请在教程上遵循
https://haha.readthedocs.io/en/en/latest/latest/latest/latest/install.install.html.html
但是我使用git仓库
https://github.com/readthedocs/readthedocs/readthedocs.org.git
而不是
venv ,而不是 virtualenv
,因为我无法制作 virtualenv
工作。
然后,我到达运行以下命令的步骤
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"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您正在使用Python 3.10,该3.10没有PYPI上的WHL文件,用于
pywin32 == 227
。尝试使用较低Python版本Eg 3.9安装You are using python 3.10 which does not have a whl file available on PyPi for
pywin32==227
. Try the installation with a lower python version e.g. 3.9也许您可以尝试将PIP降低到小于20.2的东西,并且它很可能会更快地安装您想要的东西并可以解决问题
Maybe you can try to downgrade pip to something less than 20.2, and, it's likely that it will install what you want much faster and may resolve the issue