问题描述
我遵循 How to run cloned Django project? 此处所述的建议,因为我必须处理克隆的 Django 项目。
我遵循的步骤是:
- 克隆
- 创建并启动虚拟环境
- 安装项目依赖
这是我在运行 pip install -r requirements.txt
后收到以下错误时:
Collecting django-private-chat==0.3.0
Using cached django_private_chat-0.3.0-py2.py3-none-any.whl (23 kB)
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-parler to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-mptt to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-model-utils to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-Meta-mixin to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-Meta to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-loginas to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-js-asset to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-ipware to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-infinite-scroll-pagination to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-imagekit to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-haystack 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 django-floppyforms 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 django-filer to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-djconfig to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-debug-toolbar-template-timings to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-debug-toolbar to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-countries to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-cms to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-classy-tags to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-braces to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-boto to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-bootstrap-form to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-axes to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-appdata to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of django-appconf 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 dj-database-url to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of defusedxml to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of cryptography to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of coverage to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of click to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of chardet to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of cffi to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of certifi to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of boto to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of beautifulsoup4 to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of backports-shutil-get-terminal-size 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 attrs to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of asn1crypto to determine which version is compatible with other requirements. This Could take a while.
INFO: pip is looking at multiple versions of asgiref to determine which version is compatible with other requirements. This Could take a while.
ERROR: Cannot install -r requirements.txt (line 44) and websockets==7.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested websockets==7.0
django-private-chat 0.3.0 depends on websockets==8.1
To fix this you Could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
按照 pip 文档 https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies 我安装了 websockets==8.1,但它没有修复错误。
我能做什么?我不知道如何“删除包版本以允许pip尝试解决依赖冲突”。 克隆后我是否忘记了任何必要的步骤?
提前致谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)