Can u help ? Import numpy as np // import matplotlib.pyplot as plt - crashes Python3.8 for Windows 7, 32-bit

pip install numpy

pip install matplotlib

installed successfully

tried
from

crashes Python3.8

Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:43:54) [MSC v.1928 32 bit (In
tel)] on win32
‘’’

import
File “”, line 1
import
^
SyntaxError: invalid syntax

‘’’

# Python program to read .csv file

import numpy as np
import matplotlib.pyplot as plt
import csv

crash Python

Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:43:54) [MSC v.1928 32 bit (In
tel)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.
‘’’

import csv

‘’’

so import works again

but

Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:43:54) [MSC v.1928 32 bit (In
tel)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.
‘’’

import numpy as np

‘’’
waits a moment , then crashes Python, closing Python’s window

generating bug/ error message as follows

===
Problem Caption:
Problem Event Name: APPCRASH
Application name: python.exe
Application version: 3.8.7150.1013
Application time signature: 5fe0df5a
Error module name: _multiarray_umath.cp38-win32.pyd
Version of the module with the error: 0.0.0.0
Time signature of the module with the error: 63dfe4cf
Exception code: c000001d
Exception offset: 000269c9
Operating system version: 6.1.7601.2.1.0.256.48
Regional Settings ID: 1045
Additional information 1: 0a9e
Additional information 2: 0a9e372d3b4ad19135b953a78882e789
Additional information 3: 0a9e
Additional information 4: 0a9e372d3b4ad19135b953a78882e789

Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:43:54) [MSC v.1928 32 bit (In
tel)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.

‘’’

import matplotlib.pyplot as plt
‘’’

crashes Python, generating the following error/bug message


Problem Caption:
Problem Event Name: APPCRASH
Application name: python.exe
Application version: 3.8.7150.1013
Application time signature: 5fe0df5a
Error module name: _multiarray_umath.cp38-win32.pyd
Version of the module with the error: 0.0.0.0
Time signature of the module with the error: 63dfe4cf
Exception code: c000001d
Exception offset: 000269c9
Operating system version: 6.1.7601.2.1.0.256.48
Regional Settings ID: 1045
Additional information 1: 0a9e
Additional information 2: 0a9e372d3b4ad19135b953a78882e789
Additional information 3: 0a9e
Additional information 4: 0a9e372d3b4ad19135b953a78882e789

====
Can you help modules to work ?

As I don’t know what computer system you are using (the OS aside), I’ve no idea if this is an option:

Could you not run a VM (such as Oracle VM VirtualBox v6.1), then run a lightweight Linux distro on the VM? This I suggest, because I’m running Python 3.6.9 (on a native Linux platform) and have little to no issues. One exception: I can’t use tensorflow, but I’m not getting the issue that you describe here.

Sorry; scrub that: you need a 64-bit host OS. Maybe (and it’s just a thought, with no research done) the issue is that you’re running a 32-bit OS?

OS named in the subject line
Ok, Windows 7, 32-bit is old but declared to support Python 3.8
so downloaded and installed
Matplotlib installed nice, claiming nothing

Matplotlib forum is generally down to get any reply.

Ok, I can switch to Windows 10, 64-bit PC, but I need to switch monitor, keyboard, mouse forth and back
(no room for 2 monitors , 2 keyboards, 2 mouses on my busy desk :wink:

thank you
darius