Latest pup version downloaded but not usable
This is an excellent question. It took me forever to figure out. This is the solution that works for me:. Apparently, if pip can find a local version of the package, pip will prefer the local versions to remote ones.
I even disconnected my computer from the internet and tried it again -- when pip still installed the package successfully, and didn't even complain, the source was obviously local. The really confusing part, in my case, was that pip found the newer versions on pypi , reported them, and then went ahead and re-installed the older version anyway Also, it didn't tell me what it was doing, and why.
You can get pip to give verbose output using the -v flag I RTFM-ed the help, which said you can do -v multiple times, up to 3x, for more verbose output. So I did:. Thanks to Marcus Smith , who does amazing work as a maintener of pip, this was fixed in version 1. Relevant information from the changelog for this version.
Fixed a number of issues , , , , and related to cleaning up and not reusing build directories. Pull , I found here that there is a known bug in pip that it won't check the version if there's a build directory with unpacked sources. I have checked this on my troubling package and after deleting its sources from build directory pip installed the required version.
If you are using a pip version that comes with some distribution packages ex. Ubuntu python-pip , you may need to install a newer pip version:. Got the same issue to update pika 0. In my case the python version used 3. For my case I had to delete the. Note that this was on linux. Just in case that anyone else hassles with upgrading torchtext or probably any other torch library :. What irritated me was that PyCharm pointed me to the new version, but couldn't find it when attempting to upgrade to it.
I guess that PyCharm uses its own mechanism to spot new versions. Then, when invoking pip under the hood, it didn't find the new version without the --find-links option. I found that if you use microversions, pip doesn't seem to recognize them. For example, we couldn't get version 1. In my case, someone had published the latest version of a package with python2, so attempting to pip3 install it grabbed an older version that had been built with python3.
I had hidden unversioned files under the Git tab in PyCharm that were being installed with pip install. In my case I am pip installing a. You should see this re-download any necessary files and install those, instead of using your local cache. Example see related post when using pip -e Why is an old version of a package of my python library installing by itself with pip -e?
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Why is pip installing an old version of my package? Ask Question. Asked 8 years, 9 months ago. Active 2 months ago. The same issues occur for pandas downloads 0. I've encountered this issue, but also I'm trying to write a script to pip download files for all my app's target platforms, but the script only runs on linux.
So it would be great if I could tell pip to download the packages as if I were on Windows or MacOS when the script is running on linux. Edit: In my case I discovered that pip was too old of a version. Upgrading pip allowed the wheel to be downloaded. It would be great if pip's --verbose output would indicate that the link was skipped because pip was too old. I wonder if the most straightforward patch here could be to augment the semantics of --platform and --abi flags, to accept comma-separated lists of acceptable values?
Wanted to ping this thread - Would the maintainers be open to a PR allowing multiple --platform and --abi values for pip download?
Would be happy to put one together. I'm not sure I understand the nuances here well enough, but if it is indeed simple enough to file an implementation PR, please feel free to do so.
It'll even bring us to a nice round number of 80 open PRs. I've opened with the idea I had in mind - the example above seems to work. Thanks for your time! Skip to content. Star 7. New issue. Jump to bottom.
Labels C: download type: enhancement. Copy link. Environment pip version: Proposal: Add --platform flag to pip install and pip wheel Improve the debug log message when installing an incompatible wheel FYI, I just posted PR to address this portion of the original comment: the verbose output about the skipped wheels above provides no information about how pip came to the conclusion that the wheel "is not compatible with this Python".
More verbose explanation why "Could not find a version that satisfies the requirement" I'd also recommend making a bootable USB, as it will be much quicker. Anyway, when you get to the main window, just choose the top option, which says antiX-versionnumber and date.
This is already selected, so just hit enter, and the boot should start. If there are any further questions, just enter the defaults. In version 21, the WiFi setup starts when you log into the desktop.
The full version comes with Firefox. I think you need a mainstream browser to make web sites work as intended. But as someone mentioned, modern web sites are generally very resource-heavy. There's no way to get around that. A little slow to load, and a few missed frames, but it works. The antiX dev team really strive to make old computers usable. A lack of "My Computer" suggests you think like a Windows user. One thing antiX does, it doesn't use as regular desktop environment, it uses ultra-lightweight window managers, of which there are several.
But all your documents should be stored in the "Home" folder, which should be visible on screen by default. I haven't read previous posts, so sorry if I missed something. And there are alternatives. XP is basically useless these days. The one thing I would not recommend doing on antiX is a dual install, the installer is much too complicated for novices in that department.
Puppy is great, but is intended for running off a USB. It's your best bet to make that old thing come alive! Posted 18 November - AM. Hello Mike thank you for your advice and for replying so quickly. I am grateful for your honest assessment of the Thinkpads abilities. As a relatively uneducated computer user it is hard to form any idea as to why the machine no longer works. It sounded quite useful and optimistic that XP might be usable for a little longer but when I followed the links to the sites for the browsers I found that seven of ten were not being kept up to date.
I have had a brief try of Mypal, it works but appears no faster than Firefox. I have not tried it with web sites that have told me to update Firefox. Not tried Otter Browser but will when I get time.
I did install Slimjet but as I actually tried to use it found that it was already setting itself as the default browser. I found that very annoying so uninstalled it.
The R40e CPU is 1. Images attached. R40e CPU speccy. I think the Dell desktop is a better bet although I do not understand why it appears so when it runs with nearly the same CPU Stepping 7 v 9 whatever that means. Or is the difference due to supporting chipsets? Thank you for all your advice so far.
I will be back but I still have time and now weather pressures, things to do outside before it gets too cold! Hello punranger Thanks for your useful post, good to hear that antiX can work with similar age machines.
My satnav has lifetime Europe maps which need to be updated periodically to maintain the licence. The latter is why I have the T Thinkpad. Neither worked. I am unsure whether the USB is an option with the laptop. I need to do something elsewhere now but will think on what you have told me. Thanks again. I understand.
0コメント