Abort trap: 6
See original GitHub issue- Pip version: 19.0.3
- Python version: Python 3.7.4
- Operating system: macOS Catalina
When I tried to use pip3
to view the installed modules, but returned Abort trap: 6
,Here are some screenshots and logs.I want to know what caused this., thank you
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Xcode error: Abort Trap 6 | Apple Developer Forums
While deserializing SIL vtable for 'PostTextCVC' in module 'Appp' error: Abort trap: 6. The only way to dismiss this is to user another ......
Read more >"Abort trap: 6" error in C? - Stack Overflow
In this case, the destination greeting does not have enough space to contain the whole contents of source, so it is an out...
Read more >What does it mean when your C program outputs 'Abort trap: 6'?
abort () is often called when an assertion fails; that is, when the expression passed to the assert(EXPR) macro evaluates to false. Some...
Read more >Abort trap 6/nonzero exit code - Compiler - Swift Forums
This code causes abort trap 6 in Xcode 13 and in Xcode 14 beta 6 causes "Command CompileSwift failed with a nonzero exit...
Read more >Abort trap 6 - Google Groups
I am trying to run a sam file through pstacks and am getting an "Abort trap 6" error. After doing a bit of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same issue and was able to resolve following the steps from this thread:
https://forums.developer.apple.com/thread/119429
For me, this issue was related to the libssl.1.0.0.dylib and libcrypto.1.0.0.dylib. The python.log file provided by the OP references libcrypto dylib as well.
from python.log file: Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI.
for anyone who finds this, you can view your own python log files at ~/Library/Logs/DiagnosticReports.
someone else might be able to explain this further, but in short, the error seems to be related to Catalina not allowing un-versioned dylibs to be called. The solution is to link the un-versioned dylib files to ones with a version. Below are steps taken from the prevailing answer in the above link, and I can confirm that they worked for me. It doesn’t seem like existing virtual environments will be fixed with the below, but after the fix you can create new virtual environments and they should behave as expected.
Steps to Fix in your terminal:
This is related to pyopenssl using old dependencies. You can fix it by removing the cryptography package, then upgrading cryptography to version 2.8.