python - pip installing packages failed -


with pycharm tried add project interpreter docker container

enter image description here

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.' 

enter image description here

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

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -