Comments (5)
Uninstalling (twice) and then installing will fix it
from pip-accel.
Normal pip does do this correctly if you provide the --upgrade option (without it, fails the same way)
from pip-accel.
After much digging I found that this is not a bug in pip-accel
; it's bug #709 in pip. Apparently it will be fixed in version 1.4 which is due soonish? Shall we wait and see? :-)
Edit: Wait, you're saying this does work with regular pip? I only found #709 because I tried to reproduce this issue...
Requested xlrd==0.7.1, but installing version 0.9.2
I think the above message is printed because pip
is re-using the existing build directory, i.e. it's aware that what it's doing is wrong. Which is why this is such a silly bug :-s.
from pip-accel.
In case it did work with pip
but didn't work with pip-accel
, you can try version 0.9.2 (just published). It contains a lot of improvements, including the fact that modules are now uninstalled before another version is installed (i.e. it should now work the same way as pip
).
from pip-accel.
Thanks for the feedback Harro. This now works as it is supposed to, so I'm closing this issue:
peter@peter-macbook> pip-accel install xlrd==0.9.2
2013-10-14 23:48:42 peter-macbook pip-accel[25727] INFO Unpacking local source distributions ..
2013-10-14 23:48:42 peter-macbook pip-accel[25727] INFO Executing command: pip install --download-cache=/home/peter/.pip/download-cache --find-links=file:///home/peter/.pip-accel/sources --build-directory=/tmp/tmpjKDQ_j --no-index xlrd==0.9.2 --no-install
Ignoring indexes: https://pypi.python.org/simple/
Downloading/unpacking xlrd==0.9.2
Running setup.py egg_info for package xlrd
Successfully downloaded xlrd
2013-10-14 23:48:42 peter-macbook pip-accel[25727] INFO Unpacked local source distributions in 0.28 seconds.
2013-10-14 23:48:42 peter-macbook pip-accel[25727] INFO Installing from binary distributions ..
2013-10-14 23:48:42 peter-macbook pip-accel[25727] INFO Finished installing all requirements in 0.21 seconds.
2013-10-14 23:48:42 peter-macbook pip-accel[25727] INFO Done! Took 0.49 seconds to install 1 package.
peter@peter-macbook> pip freeze | grep xlrd
xlrd==0.9.2
peter@peter-macbook> pip-accel install xlrd==0.7.1 --upgrade
2013-10-14 23:48:54 peter-macbook pip-accel[25737] INFO Unpacking local source distributions ..
2013-10-14 23:48:54 peter-macbook pip-accel[25737] INFO Executing command: pip install --download-cache=/home/peter/.pip/download-cache --find-links=file:///home/peter/.pip-accel/sources --build-directory=/tmp/tmpUP633L --no-index xlrd==0.7.1 --upgrade --no-install
Ignoring indexes: https://pypi.python.org/simple/
Downloading/unpacking xlrd==0.7.1
Running setup.py egg_info for package xlrd
Successfully downloaded xlrd
2013-10-14 23:48:54 peter-macbook pip-accel[25737] INFO Unpacked local source distributions in 0.15 seconds.
2013-10-14 23:48:54 peter-macbook pip-accel[25737] INFO Installing from binary distributions ..
2013-10-14 23:48:54 peter-macbook pip-accel[25737] INFO Uninstalled previously installed package xlrd.
2013-10-14 23:48:54 peter-macbook pip-accel[25737] INFO Finished installing all requirements in 0.21 seconds.
2013-10-14 23:48:54 peter-macbook pip-accel[25737] INFO Done! Took 0.36 seconds to install 1 package.
peter@peter-macbook> pip freeze | grep xlrd
xlrd==0.7.1
from pip-accel.
Related Issues (20)
- pip-accel not updating package HOT 3
- Doesn't work with pip 7+ HOT 2
- Add option for terse logging. HOT 5
- Windows / Appveyor - same version of cached file - invalidated and built again HOT 5
- is_wheel fails when source_directory is None HOT 6
- Not able to use pip-accel both globally and inside a virtual environment HOT 4
- Support custom pip command HOT 7
- Upgrade to pip 8 HOT 4
- Disabling S3CacheBackend because it failed HOT 2
- pip-accel does not support running as a module HOT 6
- Is there any way to use pip-accel without installing to virtualenv?
- pip-accel is not compatible with `-e` editable installs of packages that use `setuptools_scm` HOT 2
- Why does `pip-accel` make an sdist (?) archive when I `pip-accel install -e .`? HOT 3
- pip-accel doesn't support the newest pip? HOT 4
- Not compatible with alternative install locations, e.g. `--user`? HOT 2
- [need advice] Do not cache development versions
- Failed to install some packages
- pip-accel should honor settings in pip.conf
- Is this project still alive? HOT 2
- Trying to install pip-accel, it insists on downgrading pip to 2.7. How can I get it to respect the current version, 21.1.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pip-accel.