Closed
Description
Bug report
Bug summary
when using the sentence "import matplotlib.pyplot as plt", python suddenly crash.
Code for reproduction
my programm is running on VScode
# Paste your code here
#import matplotlib.pyplot as plt
#plt.show()
#
Actual outcome
# If applicable, paste the console output here
#in VScode <zsh: killed python -u>
#in terminal:
Process: Python [12881]
Path: /Library/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 3.9.4 (3.9.4)
Code Type: ARM-64 (Native)
Parent Process: zsh [12848]
Responsible: Terminal [12126]
User ID: 501
Date/Time: 2021-05-19 16:48:31.564 +0800
OS Version: macOS 11.3 (20E232)
Report Version: 12
Anonymous UUID: 376F0AEB-2643-5CA3-CBEC-A6FDE7D7EF14
Sleep/Wake UUID: F99FAD23-21F1-4BB7-BA9A-3B30F6429AA9
Time Awake Since Boot: 44000 seconds
Time Since Wake: 2800 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (Code Signature Invalid)
Exception Codes: 0x0000000000000032, 0x0000000102754000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x2
kernel messages:
VM Regions Near 0x102754000:
__LINKEDIT 102748000-102754000 [ 48K] r--/rwx SM=COW /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/lib-dynload/readline.cpython-39-darwin.so
--> mapped file 102754000-102758000 [ 16K] r--/r-x SM=PRV Object_id=4502a073
__TEXT 102760000-1027e0000 [ 512K] r-x/r-x SM=COW /usr/lib/dyld
#
Expected outcome
Matplotlib version
- Operating system: macOS, Big Sur, version 11.3
- Matplotlib version (
import matplotlib; print(matplotlib.__version__)
): 3.4.2 - Matplotlib backend (
print(matplotlib.get_backend())
): - Python version: 3.9.4
- Jupyter version (if applicable):
- Other libraries:
pip3 install matplotlib
Metadata
Metadata
Assignees
Labels
No labels