Python Forum

Full Version: I am unable to install NumPy in Python3.7.0 and I don't know why.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is the error message displayed.

numpy\random\mtrand\mtrand.c(45472): error C2039: 'exc_type': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45473): error C2039: 'exc_value': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45474): error C2039: 'exc_traceback': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45481): error C2039: 'exc_type': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45482): error C2039: 'exc_value': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45483): error C2039: 'exc_traceback': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45484): error C2039: 'exc_type': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45485): error C2039: 'exc_value': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45486): error C2039: 'exc_traceback': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45541): error C2039: 'exc_type': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45542): error C2039: 'exc_value': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45543): error C2039: 'exc_traceback': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45544): error C2039: 'exc_type': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45545): error C2039: 'exc_value': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'
numpy\random\mtrand\mtrand.c(45546): error C2039: 'exc_traceback': is not a member of '_ts'
c:\python37\include\pystate.h(209): note: see declaration of '_ts'

----------------------------------------
Command "c:\python37\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\KANIKA~1\\AppData\\Local\\Temp\\pip-build-buepd8p8\\numpy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\KANIKA~1\AppData\Local\Temp\pip-p3epwd8d-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\KANIKA~1\AppData\Local\Temp\pip-build-buepd8p8\numpy\
Are you using python 3.7? ('c:\python37')
If so, that's a pre-release and you won't find a lot of packages that
are made for that release yet.
The latest stable release is 3.6.4
How are you trying to install it?
This Python 3.6 and pip installation under Windows
The will pip install numpy work.
Are you dev testing or are you just trying to get it to work?

python3.7 is still in BETA.