Pycharm Run Keeps Crashing with Exit Code 134 While importing boto3 in Virtualenv Only (Mac OS)

Sorry if it is double post - basically I can trace down the problem to be a single line of code: if I just run

import boto3

 

in a virtualenv environment (with Python 3.7.7), the process shows:

 

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

 

While there is a Mac OS dialog titled "Python quit unexpectedly."

 

As a comparison, if I run `import boto3` in a system Python environment, e.g. in /usr/local/bin/python3, with the same boto3 version (the newest boto3-1.14.45), the program will finish without any errors.

 

As another comparison, if I run `import boto3` in command line python shell of the same virtual environment, the statement will execute without errors.

 

The system report looks like this: 

 

Process: Python [30807]
Path: /usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 3.7.7 (3.7.7)
Code Type: X86-64 (Native)
Parent Process: pycharm [28113]
Responsible: pycharm [28113]
User ID: 501

Date/Time: 2020-08-18 20:42:39.251 -0700
OS Version: Mac OS X 10.15.6 (19G2021)
Report Version: 12

.....

1
1 comment
Avatar
Permanently deleted user

Figured out the root cause - I need to update pyopenssl to the newest version in case someone needs it.

0

Please sign in to leave a comment.