Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8091

Re: upgrading setuptools in virtualenv leaves behind version 5.5.1

From Brian May <bam@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: upgrading setuptools in virtualenv leaves behind version 5.5.1
Date 2016-01-13 22:40 +0100
Message-ID <qQBj6-5yt-61@gated-at.bofh.it> (permalink)
References <qQolQ-4RO-15@gated-at.bofh.it> <qQqQF-6Le-1@gated-at.bofh.it>
Organization Debian

Show all headers | View raw


Andrey Rahmatullin <wrar@debian.org> writes:

>> Problem is some packages will pickup pkg_resources from
>> setuptools-5.5.1-py2.py3-none-any.whl instead of the new version I just
>> thought I installed.
> I don't see where did you install the new version.

Sorry, somehow I managed to stuff up the copy and paste. I actually run
"pip install -U setuptools" as below.

brian@prune:~$ rm -rf /tmp/virtual/
brian@prune:~$ virtualenv /tmp/virtual
Running virtualenv with interpreter /home/brian/.pyenv/shims/python2
New python executable in /tmp/virtual/bin/python2
Also creating executable in /tmp/virtual/bin/python
Installing setuptools, pip...done.
brian@prune:~$ . /tmp/virtual/bin/activate
(virtual)brian@prune:~$ pip install -U setuptools
Downloading/unpacking setuptools from https://pypi.python.org/packages/3.5/s/setuptools/setuptools-19.2-py2.py3-none-any.whl#md5=7bdac510b6bc1675a2a149eb3f81af77
  Downloading setuptools-19.2-py2.py3-none-any.whl (463kB): 463kB downloaded
Installing collected packages: setuptools
  Found existing installation: setuptools 5.5.1
    Uninstalling setuptools:
      Successfully uninstalled setuptools
Successfully installed setuptools
Cleaning up...
(virtual)brian@prune:~$ ls -l /tmp/virtual/lib/python-wheels/setuptools-5.5.1-py2.py3-none-any.whl
-rw------- 1 brian brian 229854 Jan 14 08:31 /tmp/virtual/lib/python-wheels/setuptools-5.5.1-py2.py3-none-any.whl
-- 
Brian May <bam@debian.org>

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

upgrading setuptools in virtualenv leaves behind version 5.5.1 Brian May <brian@linuxpenguins.xyz> - 2016-01-13 08:50 +0100
  Re: upgrading setuptools in virtualenv leaves behind version 5.5.1 Andrey Rahmatullin <wrar@debian.org> - 2016-01-13 11:30 +0100
    Re: upgrading setuptools in virtualenv leaves behind version 5.5.1 Brian May <bam@debian.org> - 2016-01-13 22:40 +0100

csiph-web