Closed mgeisler closed 10 years ago
This should be fixed in the next version of pip since we've updated our copy of requests to 2.4.1.
I have this issue in a python 3.2 project. Can I manually overwrite requests with the new version?
I gave up on python 3.2 and installed 3.4 where everything works. Thank you.
I have a project (zerovm/zpm) where we try to maintain compatibility with Python 3.2. I discovered that
pip
becomes unhappy ifsimplejson
is installed. We don't depend onsimplejson
ourselves, but a dependency does.The problem is that
pip
depends onrequests
, which tries to importsimplejson
before it falls back on the stdlibjson
module. Thesimplejson
project does not support Python 3.2 (it uses theu"..."
syntax for strings). This makes the import fail with a SyntaxError:I have reported the error to requests and I hope they will fix it. When they do, the vendor copy included with pip should be updated. So I guess this issue is mostly here to track this and help others who run into this problem.