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
On at least one of my machines "pip install -U" doesn't always upgrade packages.
This might be because there happened to be a subdirectory named "build" in the current working directory that contained a extracted source archive of an older version.
Installing collected packages: pytz, lxml
Found existing installation: pytz 2012c
Uninstalling pytz:
Successfully uninstalled pytz
Running setup.py install for pytz
warning: no files found matching '*.pot' under directory 'pytz'
warning: no previously-included files found matching 'test_zdump.py'
Found existing installation: lxml 2.3.4
Uninstalling lxml:
Successfully uninstalled lxml
Running setup.py install for lxml
Building lxml version 2.3.4.
Building without Cython.
Using build configuration of libxslt 1.1.26
Building against libxml2/libxslt in the following directory: /usr/lib64
Not how pip downloaded lxml 2.3.5 and then says it is building 2.3.4.
After this I noticed a directory named "build" in the current working directory. After removing this directory I could perform the upgrade.
IMHO this is a bug because pip shouldn't take notice of the contents of the CWD.
The text was updated successfully, but these errors were encountered:
On at least one of my machines "pip install -U" doesn't always upgrade packages.
This might be because there happened to be a subdirectory named "build" in the current working directory that contained a extracted source archive of an older version.
Command-line output:
$ $ pip install -U pytz lxml
Downloading/unpacking pytz from http://pypi.python.org/packages/source/p/pytz/pytz-2012d.tar.gz#md5=bf01c4fc9b64b164c3e2bb9c5477a544
Running setup.py egg_info for package pytz
Downloading/unpacking lxml from http://pypi.python.org/packages/source/l/lxml/lxml-2.3.5.tar.gz#md5=730bb63383528b65eaa099d64ce276cf
Running setup.py egg_info for package lxml
Building lxml version 2.3.4.
Building without Cython.
Using build configuration of libxslt 1.1.26
Building against libxml2/libxslt in the following directory: /usr/lib64
Installing collected packages: pytz, lxml
Found existing installation: pytz 2012c
Uninstalling pytz:
Successfully uninstalled pytz
Running setup.py install for pytz
Found existing installation: lxml 2.3.4
Uninstalling lxml:
Successfully uninstalled lxml
Running setup.py install for lxml
Building lxml version 2.3.4.
Building without Cython.
Using build configuration of libxslt 1.1.26
Building against libxml2/libxslt in the following directory: /usr/lib64
Not how pip downloaded lxml 2.3.5 and then says it is building 2.3.4.
After this I noticed a directory named "build" in the current working directory. After removing this directory I could perform the upgrade.
IMHO this is a bug because pip shouldn't take notice of the contents of the CWD.
The text was updated successfully, but these errors were encountered: