-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
pip install --upgrade pip
breaks pip
#26900
Comments
Fixes Homebrew#26900. Closes Homebrew#26915. Signed-off-by: Adam Vandenberg <[email protected]>
This bug doesn't seem to be solved. I'm still getting the same error. First, I check that everything is up-to-date and working properly:
Next, I uninstall/install Python, to avoid any potential problems with upgrade:
And when I test pip:
I also tried installing
|
@lmrodriguezr I didn't understand why Python source downloading from |
You're right, I don't understand either. When I open the formula with I haven't changed any formulae, and the homebrew installation and settings are untouched (I re-installed the OS recently, so it's all fresh). |
That's the binary package that Homebrew installs by default. Anyone having this issue: does it only manifest if the bottle pours? Does it occur if you |
The problem was on the pip upgrade, and I've solved it manually (changing |
That's the source URL. Homebrew also distributes binary packages that we build, and those are installed by default. That's why the URL is different in that case. |
It works with |
@MikeMcQuaid I think the bottles are broken. |
@MikeMcQuaid The |
@mistydemeo Bottles removed, thanks. |
Fixes Homebrew#26900. Closes Homebrew#26915. Signed-off-by: Adam Vandenberg <[email protected]>
This is still happening, but this time with |
I had the same issue.
This fixed it for me. |
I have the same issue. |
Same issue here. |
This still occurs for me also. We isn't this issue re-opened? |
I just set up a new machine and got the same issue (in this instance, not solved by The same thing happened w/ pip 1.5.2 --> 1.5.4, and this issue outlines an easy fix. What is the best way to use this info to help? Open an issue? Just fork the mother, fix it and submit a pull request? |
Reopening since this symptom is still an issue; the Python bottles don't seem to be at fault, since building from source still exhibits it. |
The problem only seems to happen when using the wheel; |
I think Upgrade setuptools and pip Pull Request #29039 probably solves this, as well as pypa/pip #1800 . |
That PR does not fix it; setuptools 3.6 still exhibits this problem. It'd only postpone it by packaging the newest setuptools/pip that would break in the same way a little while later. |
Just to add to the noise, I had the exact same issue on both my Windows and Mac machines using python 2.7.6 and pip 1.5.5. I removed python and my pip modules on my Mac environment and ran |
@mistydemeo Yup, that's probably true! And I shouldn't have called it a solution, it's more of a workaround.. ;) |
Unfortunately, I don't think the workaround posted by @simlun works anymore. Upgrading pip now pulls in version 1.5.6:
Though it looks like 1.5.6 was released less than a day ago (pypa/pip@81f21f2) so hopefully things will clear up soon. |
I can verify that the problem is still here with a new Python installation (poured) on 2014-05-18, although I get:
i.e., 1.5.4 instead of 1.5.5. My workaround was to uninstall and the reinstall Python, but not do the suggested upgrades of setuptools and pip. Then pip is fine, running 1.5.4:
|
Confirmed that installing from the bottle or from source does not successfully run OS X 10.9.3 |
Issue fixed for me by using |
|
After some more testing, it looks like @mistydemeo is correct. Thanks! |
@mistydemeo's |
This worked for me as well.
OSX 10.7.5
|
Homebrew installs pip with When without How about stop using symlink? |
I can no longer reproduce this, with pip 1.5.5 and setuptools 4.0. I noticed, when clearing out my pip 1.5.6 to try and repro, that I had two copies of pip 1.5.6 installed, and I had to The first
While the second removed these:
|
Now homebrew's Python bundles pip 1.5.6.
|
No surprise I'm sure, but I'm also having this issue. I'll be happy to test any suggestions that anyone may have. Edit: scrub that, cleaned everything and started afresh and |
Options are:
|
This has been fixed by pypa/pip@31e5f41, and should be fine in the next release of pip. |
@FishGel pip doesn't support Python 2.4 and Homebrew doesn't provide Python 2.4. |
i am using Python 2.7.and i don't why it been installed to /usr/lib/python2.4/ path.
|
@FishGel |
@methane |
FYI, this problem is fixed when upgrading from 1.6.0 (next version). |
it's now 30 Dec 2014 and this is still broken: (lunachix 548) $ brew uninstall python You can install Python packages with They will install into the site-package directory See: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md .app bundles were installed. Storing debug log for failure in /Users/kjolley/.pip/pip.log – same results when run without "--build-from-source" |
Please see #35194 (comment) and discussion; because of an upstream pip bug you must use |
Following the instructions to brew python, I've upgraded pip and setuptools. After that, pip is broken because the pip binaries require the old version. The details:
which installs pip's next version (1.5.4) and removes the previous one (1.5.2):
But now
pip
is broken:This is because the old version (1.5.2) is still in the
pip
binary:The text was updated successfully, but these errors were encountered: