New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils #12016
Comments
You need a BLAS/LAPACK installed (MKL or ATLAS or OpenBLAS) is what those |
Getting same error: No module named 'numpy.distutils._msvccompiler' in numpy.distutils with Python 3.8.0. Please suggest. |
Python 3.8 is not officially supported by NumPy yet. We strongly suggest you stick with python 3.7 for now, until you see a 3.8 designation in the "Programming Language" section of the PyPI numpy page (probably several weeks) or until an Anaconda release with Python 3.8 is available (probably several months) |
Python 3.8 is supported by 1.17.3. |
xref gh-14758 |
Same problem |
Uninstalled Python 3.8.0 and installed 3.7.0. It is working with 3.7.0. Thanks Matti. |
I faced the same issue while installing scikit-learn. I'm using python3.8.0 with pip==19.3.1 and numpy==1.17.4 all latest at this time in Windows 10. I was able to fix it by installing two visual studio dist packages:
Try to install the required python packages once again. Though I used pip for package installation, but I believe it should work for conda as well. |
This issue is closed, the hints here are not really helpful. Downloading a compiler is an anti-pattern, you do not want to build numpy, only use it. Locking the thread. |
I was running the the command from the install.rst.txt in Basic Installation inside the Anaconda Prompt. I have Visual Studio Build Tools installed and my python version I'm using is 3.6 and in a x64 bit. All this for the error, I got about the mtrand.pyx Value Error: a must be non-empty which was involved with me using np.random.choice. I ask your help cause it was said in other issues is to fix numpy but I didnt know it would involve to like download this entire repository. Help me please bit of a beginner.
This was the command:
It produced this error message.
The text was updated successfully, but these errors were encountered: