Message200057
Getting bitten by this with numpy/scipy installations
Having previous scipy installed,
pip install -I scipy
creates a broken scipy installation, because the previous one is not removed and gets overwritten. For instance, an old spectral.so file leftover hides the spectral.py file from the new installation causing broken behavior.
Similarly trying
pip uninstall scipy
pip install scipy
does the same, because the distutils uninstall does not uninistall anything, leaves the scipy directory there and all cheerful ends with a 'Successfully uninstalled scipy'.
This is *dangerous*. Mixing old and new code could lead to the weirdest behavior. In principle, one could even use this property to craft packages such that when two subsequent versions are installed one on top of the other malicious things happen even if individually each version is innoquous. |
|
Date |
User |
Action |
Args |
2013-10-16 12:30:21 | Sergio.Callegari | set | recipients:
+ Sergio.Callegari, illume, tarek, eric.araujo, thomas.holmes, alexis |
2013-10-16 12:30:21 | Sergio.Callegari | set | messageid: <1381926621.17.0.65121953907.issue5342@psf.upfronthosting.co.za> |
2013-10-16 12:30:21 | Sergio.Callegari | link | issue5342 messages |
2013-10-16 12:30:20 | Sergio.Callegari | create | |
|