-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip3 aborts immediately on Catalina Release version #44996
Comments
I can confirm that this problem also happens on a fresh Catalina installation. My scenario is that salt-minion is not able start because of the same problem. So the problem is that This is my full log:
|
This bug is related with #44776 |
Can you try |
I have tried several things, Another thing I have tried is installing Maybe the error is related with |
I also tried fully uninstalling brew (and thereby everything it had installed) and reinstalling all the packages I use (luckily I keep a script with a list of my most common ones on hand for setting up new laptops). Still running into the issue. |
EDIT: @AngerM's solution below is preferred. |
I cannot reproduce on my Catalina machine. The main difference I see is that I have CLT installed, but not Xcode.
Something is trying to load The only references I can find to
The shared objects are clearly linked against the right library:
The
I can however confirm that, if I execute that code manually, it does crash:
but that is the expected behaviour on Catalina, I think. |
I tried uninstall xcode and downloaded just the command line tools, and then did a |
I found something that may be helpful! |
Afterwards I am able to install the new version of asn1crypto and pip3 continues to work! |
Yes, this is caused by older versions of asn1crypto: wbond/asn1crypto#158
|
meet same error |
@cdalvaro Did you find a solution for this issue related to Salt? |
Hi @jpmckinney! Apparently, the @saltstack team is working to fix this issue in PR saltstack/salt#55084 As a workaround I could run |
Ah, yes, I'm subscribed to that issue :) Do you have that command handy? I couldn't quickly find how to install the Mojave bottle. |
You can download wget https://homebrew.bintray.com/bottles/salt-2019.2.1_1.mojave.bottle.tar.gz And you could try to replace your current installation like this: sudo rm -rf /usr/local/Cellar/salt
tar xzf salt-2019.2.1_1.mojave.bottle.tar.gz -C /usr/local/Cellar/
brew unlink salt && brew link salt But I have tried it just now and I'am not been able to get it run. Certainly, last time I got running |
I have removed the |
Hmm, I did
|
Then this needs to be fixed on salt's end, sorry. |
Removing |
|
Still not working for me, aborts instantly. I tried reinstalling a few times and have followed the instructions above in this thread. /usr/local/lib/python3.7/site-packages site-packages % rm -rf /usr/local/lib/python3.7/site-packages/asn1crypto site-packages % pip3 Traceback (most recent call last): File "/Library/Developer/CommandLineTools/usr/bin/pip3", line 10, in TypeError: 'module' object is not callable` |
This is an Apple file, not Homebrew. |
Whoops. Yep. Thanks. |
Ran into this today. Updating to the latest xcode dev tools seems to resolve this now. |
as uninstall with pip ends up the same abort, you need to remove it manually first:
|
Newbie Here, I am having the same issue here I believe. Whenever I run %pip3 I get this error, Could someone please show me how to fix this? |
Can confirm rm -rf /usr/local/lib/python3.7/site-packages/asn1crypto works as a solution |
update homebrew using this : https://stackoverflow.com/questions/34617452/how-to-update-xcode-from-command-line |
That updates macOS and the commandline tools. It does very little for homebrew. But apparently that means it wasn't ever a homebrew bug. |
brew
command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?What you were trying to do (and why)
Installed python. Ran
pip3
. It aborts immediatelyWhat happened (include command output)
brew doctor
brew config
What you expected to happen
it not crash
Step-by-step reproduction instructions (by running
brew
commands)Running Mac OS 10.14.
Install brew
brew install python
Install catalina from the app store.
pip3
I also tried uninstall and installing python3 again in the hopes ti would reconfigure it but this did not help.
I tried deleting everything in ~/Library/Caches/Homebrew and doing another uninstall/reinstall in the hopes it may help, but to no avail.
I would guess this probably also happens on fresh Catalina installs, but I'm have no desire to reimage my entire laptop at this point.
The text was updated successfully, but these errors were encountered: