尝试运行pipenv install
与urllib3
发生冲突。
╰─ pipenv install
Warning: Your Pipfile requires python_version 3.7, but you are using 3.6.5 (/Users/n/.local/share/v/c/bin/python).
$ pipenv check will surely fail.
Pipfile.lock (4160fd) out of date, updating to (cc2997)...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches urllib3<1.24,<1.25,==1.24,>=1.20,>=1.21.1 (from -r /var/folders/28/b5kmpr2d36b_bmvl__byz6580000gn/T/pipenv-lfd57274-requirements/pipenv-8lzweg6z-constraints.txt (line 11))
Tried: 0.3, 1.0, 1.0.1, 1.0.2, 1.1, 1.2, 1.2.1, 1.2.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.7.1, 1.8, 1.8.2, 1.8.3, 1.9, 1.9.1, 1.9.1, 1.10, 1.10, 1.10.1, 1.10.1, 1.10.2, 1.10.2, 1.10.3, 1.10.3, 1.10.4, 1.10.4, 1.11, 1.11, 1.12, 1.12, 1.13, 1.13, 1.13.1, 1.13.1, 1.14, 1.14, 1.15, 1.15, 1.15.1, 1.15.1, 1.16, 1.16, 1.17, 1.17, 1.18, 1.18, 1.18.1, 1.18.1, 1.19, 1.19, 1.19.1, 1.19.1, 1.20, 1.20, 1.21, 1.21, 1.21.1, 1.21.1, 1.22, 1.22, 1.23, 1.23, 1.24, 1.24
There are incompatible versions in the resolved dependencies.
运行pipenv install --skip-lock
和pipenv graph --reverse
为urllib3
提供了以下内容:
urllib3==1.23
- botocore==1.12.27 [requires: urllib3>=1.20,<1.24]
- boto3==1.9.27 [requires: botocore>=1.12.27,<1.13.0]
- django-s3-storage==0.12.4 [requires: boto3>=1.4.4,<2]
- s3transfer==0.1.13 [requires: botocore>=1.3.0,<2.0.0]
- boto3==1.9.27 [requires: s3transfer>=0.1.10,<0.2.0]
- django-s3-storage==0.12.4 [requires: boto3>=1.4.4,<2]
- requests==2.20.0 [requires: urllib3>=1.21.1,<1.25]
- plotly==3.1.0 [requires: requests]
在这种情况下==1.24
来自哪里?那似乎是有冲突的版本。我是否误解了graph
命令的工作方式?