[root@192 quora]# pipenv install -r requirements/local.txt
Requirements file provided! Importing into Pipfile…
/usr/local/bin/python3/lib/python3.7/http/cookiejar.py:1217: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=(‘192.168.0.122’, 57066), raddr=(‘151.101.128.223’, 443)>
keys = sorted(adict.keys())
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/local/bin/python3/lib/python3.7/email/feedparser.py:164: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=(‘192.168.0.122’, 57072), raddr=(‘151.101.128.223’, 443)>
self._parse = self._parsegen().next
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/local/bin/python3/lib/python3.7/email/feedparser.py:164: ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=(‘192.168.0.122’, 59404), raddr=(‘151.101.64.223’, 443)>
self._parse = self._parsegen().next
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/local/bin/python3/lib/python3.7/site-packages/pipenv/vendor/urllib3/util/retry.py:403: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=(‘192.168.0.122’, 59438), raddr=(‘151.101.64.223’, 443)>
raise six.reraise(type(error), error, _stacktrace)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/local/bin/python3/lib/python3.7/site-packages/pipenv/vendor/urllib3/util/retry.py:403: ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=(‘192.168.0.122’, 57120), raddr=(‘151.101.128.223’, 443)>
raise six.reraise(type(error), error, _stacktrace)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/local/bin/python3/lib/python3.7/site-packages/pipenv/vendor/urllib3/util/retry.py:403: ResourceWarning: unclosed <ssl.SSLSocket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=(‘192.168.0.122’, 59452), raddr=(‘151.101.64.223’, 443)>
raise six.reraise(type(error), error, _stacktrace)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Pipfile.lock not found, creating…
/usr/local/bin/python3/lib/python3.7/site-packages/pipenv/vendor/tomlkit/toml_char.py:14: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=(‘192.168.0.122’, 57136), raddr=(‘151.101.128.223’, 443)>
super(TOMLChar, self).init()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
✘ Locking Failed!
[ResolutionFailure]: File “/usr/local/bin/python3/lib/python3.7/site-packages/pipenv/resolver.py”, line 785, in _main
[ResolutionFailure]: resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages)
[ResolutionFailure]: File “/usr/local/bin/python3/lib/python3.7/site-packages/pipenv/resolver.py”, line 753, in resolve_packages
[ResolutionFailure]: requirements_dir=requirements_dir,
[ResolutionFailure]: File “/usr/local/bin/python3/lib/python3.7/site-packages/pipenv/resolver.py”, line 736, in resolve
[ResolutionFailure]: req_dir=requirements_dir
[ResolutionFailure]: File “/usr/local/bin/python3/lib/python3.7/site-packages/pipenv/utils.py”, line 1386, in resolve_deps
[ResolutionFailure]: req_dir=req_dir,
[ResolutionFailure]: File “/usr/local/bin/python3/lib/python3.7/site-packages/pipenv/utils.py”, line 1093, in actually_resolve_deps
[ResolutionFailure]: resolver.resolve()
[ResolutionFailure]: File “/usr/local/bin/python3/lib/python3.7/site-packages/pipenv/utils.py”, line 818, in resolve
[ResolutionFailure]: raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
Alternatively, 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.
ERROR: Could not find a version that matches text-unidecode1.2,1.3 (from python-slugify3.0.2->-r /tmp/pipenv5hnz474zrequirements/pipenv-0o0122q8-constraints.txt (line 10))
Tried: 0.1, 1.0, 1.0, 1.1, 1.1, 1.2, 1.2, 1.3, 1.3
There are incompatible versions in the resolved dependencies:
text-unidecode1.2 (from python-slugify3.0.2->-r /tmp/pipenv5hnz474zrequirements/pipenv-0o0122q8-constraints.txt (line 10))
text-unidecode1.3 (from faker4.4.0->factory-boy2.12.0->-r /tmp/pipenv5hnz474zrequirements/pipenv-0o0122q8-constraints.txt (line 31))
[root@192 quora]#
老师,麻烦看一下我这个问题怎么解决?