this is a pip issue; first ensure you’re on the latest version of pip.  If the 
error persists, please report it to https://github.com/pypa/pip/issues.



Sibylle Koczian <[email protected]> wrote:

> Hello,
> 
> I can't upgrade SQLAlchemy any more on just one of several Windows PCs. 
> Windows version is Windows 7 Starter Edition, 32 bit, Python version is 
> 3.4.3, installed SQLAlchemy version is 0.9.7.
> 
> With
> 
> pip install --upgrade sqlalchemy
> 
> I get this:
> 
> Exception:
> Traceback (most recent call last):
>  File "C:\Python34\lib\site-packages\pip\basecommand.py", line 232, in main
>    status = self.run(options, args)
>  File "C:\Python34\lib\site-packages\pip\commands\install.py", line 339, in 
> run
> 
>    requirement_set.prepare_files(finder)
>  File "C:\Python34\lib\site-packages\pip\req\req_set.py", line 235, in 
> prepare_
> files
>    req_to_install, self.upgrade)
>  File "C:\Python34\lib\site-packages\pip\index.py", line 305, in 
> find_requireme
> nt
>    page = self._get_page(main_index_url, req)
>  File "C:\Python34\lib\site-packages\pip\index.py", line 783, in _get_page
>    return HTMLPage.get_page(link, req, session=self.session)
>  File "C:\Python34\lib\site-packages\pip\index.py", line 872, in get_page
>    "Cache-Control": "max-age=600",
>  File "C:\Python34\lib\site-packages\pip\_vendor\requests\sessions.py", line 
> 47
> 3, in get
>    return self.request('GET', url, **kwargs)
>  File "C:\Python34\lib\site-packages\pip\download.py", line 365, in request
>    return super(PipSession, self).request(method, url, *args, **kwargs)
>  File "C:\Python34\lib\site-packages\pip\_vendor\requests\sessions.py", line 
> 46
> 1, in request
>    resp = self.send(prep, **send_kwargs)
>  File "C:\Python34\lib\site-packages\pip\_vendor\requests\sessions.py", line 
> 61
> 0, in send
>    r.content
>  File "C:\Python34\lib\site-packages\pip\_vendor\requests\models.py", line 
> 730,
> in content
>    self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or 
> bytes
> ()
>  File "C:\Python34\lib\site-packages\pip\_vendor\requests\models.py", line 
> 655,
> in generate
>    for chunk in self.raw.stream(chunk_size, decode_content=True):
>  File 
> "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\resp
> onse.py", line 256, in stream
>    data = self.read(amt=amt, decode_content=decode_content)
>  File 
> "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\resp
> onse.py", line 186, in read
>    data = self._fp.read(amt)
>  File "C:\Python34\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py",
> line 54, in read
>    self.__callback(self.__buf.getvalue())
>  File "C:\Python34\lib\site-packages\pip\_vendor\cachecontrol\controller.py", 
> l
> ine 217, in cache_response
>    self.serializer.dumps(request, response, body=body),
>  File "C:\Python34\lib\site-packages\pip\download.py", line 268, in set
>    return super(SafeFileCache, self).set(*args, **kwargs)
>  File 
> "C:\Python34\lib\site-packages\pip\_vendor\cachecontrol\caches\file_cache
> .py", line 86, in set
>    fh.write(value)
>  File "C:\Python34\lib\site-packages\pip\_vendor\lockfile\__init__.py", line 
> 24
> 5, in __exit__
>    self.release()
>  File "C:\Python34\lib\site-packages\pip\_vendor\lockfile\linklockfile.py", 
> lin
> e 56, in release
>    raise NotLocked("%s is not locked" % self.path)
> pip._vendor.lockfile.NotLocked: 
> c:\users\sibylle\appdata\local\pip\cache\http\4\
> 6\5\a\7\465a7ff360f3da62605e6797df3cf194b67c6a52ca200f6fcfb704a4 is not locked
> 
> I tried to google the exception, but didn't get anything.
> 
> Thanks for hints!
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to