You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported by: sebastien charret (BitBucket: SebCharret)
Hi all,
I try to install pylint on my virtualenv and I have the following error.
#!python
# pip3 install pylint
Collecting pylint
Using cached pylint-1.4.3-py2.py3-none-any.whl
Collecting logilab-common>=0.53.0 (from pylint)
Using cached logilab-common-0.63.2.tar.gz
/usr/lib/python3.4/distutils/dist.py:260: UserWarning: Unknown distribution option: 'test_require'
warnings.warn(msg)
package init file './test/__init__.py' not found (or not a regular file)
Requirement already satisfied (use --upgrade to upgrade): six in /home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages (from pylint)
Collecting astroid>=1.3.6 (from pylint)
Exception:
Traceback (most recent call last):
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/basecommand.py", line 232, in main
status = self.run(options, args)
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/commands/install.py", line 339, in run
requirement_set.prepare_files(finder)
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/req/req_set.py", line 333, in prepare_files
upgrade=self.upgrade,
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/index.py", line 305, in find_requirement
page = self._get_page(main_index_url, req)
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/index.py", line 783, in _get_page
return HTMLPage.get_page(link, req, session=self.session)
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/index.py", line 872, in get_page
"Cache-Control": "max-age=600",
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/_vendor/requests/sessions.py", line 473, in get
return self.request('GET', url, **kwargs)
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/download.py", line 365, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/_vendor/requests/sessions.py", line 461, in request
resp = self.send(prep, **send_kwargs)
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/_vendor/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/_vendor/cachecontrol/adapter.py", line 36, in send
cached_response = self.controller.cached_request(request)
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/_vendor/cachecontrol/controller.py", line 100, in cached_request
resp = self.serializer.loads(request, self.cache.get(cache_url))
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/_vendor/cachecontrol/serialize.py", line 62, in loads
return getattr(self, "_loads_v{0}".format(ver))(request, data)
File "/home/sebastien/.virtualenvs/pyMarket3.4/lib/python3.4/site-packages/pip/_vendor/cachecontrol/serialize.py", line 91, in _loads_v1
body = io.BytesIO(cached["response"].pop("body"))
TypeError: 'str' does not support the buffer interface
My os:
Linux version 3.13.0-53-generic (buildd@phianna) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015
Python: 3.4.0
Originally reported by: sebastien charret (BitBucket: SebCharret)
Hi all,
I try to install pylint on my virtualenv and I have the following error.
My os:
Linux version 3.13.0-53-generic (buildd@phianna) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015
Python: 3.4.0
Thanks for the help.
The text was updated successfully, but these errors were encountered: