GithubHelp home page GithubHelp logo

Comments (5)

hvdklauw avatar hvdklauw commented on July 26, 2024

Uninstalling (twice) and then installing will fix it

from pip-accel.

hvdklauw avatar hvdklauw commented on July 26, 2024

Normal pip does do this correctly if you provide the --upgrade option (without it, fails the same way)

from pip-accel.

xolox avatar xolox commented on July 26, 2024

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.

xolox avatar xolox commented on July 26, 2024

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.

xolox avatar xolox commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.