Python Forum
I am unable to install NumPy in Python3.7.0 and I don't know why. - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: I am unable to install NumPy in Python3.7.0 and I don't know why. (/thread-9119.html)



I am unable to install NumPy in Python3.7.0 and I don't know why. - kanika97_scs - Mar-21-2018

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\


RE: I am unable to install NumPy in Python3.7.0 and I don't know why. - Larz60+ - Mar-21-2018

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


RE: I am unable to install NumPy in Python3.7.0 and I don't know why. - nilamo - Mar-21-2018

How are you trying to install it?


RE: I am unable to install NumPy in Python3.7.0 and I don't know why. - snippsat - Mar-21-2018

This Python 3.6 and pip installation under Windows
The will pip install numpy work.


RE: I am unable to install NumPy in Python3.7.0 and I don't know why. - metulburr - Mar-21-2018

Are you dev testing or are you just trying to get it to work?

python3.7 is still in BETA.