python - pip installing packages failed -
with pycharm tried add project interpreter docker container
but incomprehensible error.
invalid requirement: 'redis\>=2.10.5' traceback (most recent call last): file "/usr/local/lib/python2.7/site-packages/pip/req/req_install.py", line 82, in __init__ req = requirement(req) file "/usr/local/lib/python2.7/site-packages/pip/_vendor/packaging/requirements.py", line 96, in __init__ requirement_string[e.loc:e.loc + 8])) invalidrequirement: invalid requirement, parse error @ "'\\>=2.10.'
what can it?
from official documentation of pip
:
https://pip.pypa.io/en/stable/reference/pip_install/#examples
$ pip install somepackage # latest version $ pip install somepackage==1.0.4 # specific version $ pip install 'somepackage>=1.0.4' # minimum version
it seems have use apostrophes minimum version.
Comments
Post a Comment