Replies: 24 comments
-
@RED025 How is your numpy installed? I would recommend using conda if you aren't already. Numpy sometimes has issues building on Windows: |
Beta Was this translation helpful? Give feedback.
-
yes. i did install using conda. But still i am getting that error. |
Beta Was this translation helpful? Give feedback.
-
Hmm, maybe try a fresh environment:
then install pyart within the environment. |
Beta Was this translation helpful? Give feedback.
-
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils Still getting same error. Is there something wrong with my Microsoft visual c++ version? |
Beta Was this translation helpful? Give feedback.
-
I would maybe try: |
Beta Was this translation helpful? Give feedback.
-
Are you conda installing Py-ART?
It is NOT recommended to install Py-ART from source on Windows..
conda -c conda-forge install arm_pyart
From: Red025 <[email protected]>
Reply-To: ARM-DOE/pyart <[email protected]>
Date: Wednesday, October 2, 2019 at 12:08 PM
To: ARM-DOE/pyart <[email protected]>
Cc: Subscribed <[email protected]>
Subject: Re: [ARM-DOE/pyart] #No module named 'numpy.distutils._msvccompiler' (#869)
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
building 'pyart.io._sigmetfile' extension
compiling C sources
error: Unable to find vcvarsall.bat
Still getting same error. Is there something wrong with my Microsoft visual c++ version?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Beta Was this translation helpful? Give feedback.
-
will try that. Thank you. @zssherman |
Beta Was this translation helpful? Give feedback.
-
If you use Python 3.8 that isn't officially supported by NumPy yet. I suggest you stick with python 3.7 for now until you see a 3.8 designation in the "Programming Language" section on numpy page. |
Beta Was this translation helpful? Give feedback.
-
We do no testing for 3.8.. if you go there you are on your own ;)
…-sent from a mobile device-
On Nov 3, 2019, at 9:26 AM, goldengrisha ***@***.***> wrote:
If you use Python 3.8 that isn't officially supported by NumPy yet. I 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.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
All those who are still facing issue, check this link to fix this in python3.8.0 |
Beta Was this translation helpful? Give feedback.
-
Thank you @sauravmahuri2007 for the link! |
Beta Was this translation helpful? Give feedback.
-
I'm using python3.7.4 with numpy==1.18.1,still got this issue. |
Beta Was this translation helpful? Give feedback.
-
@zhaobudaola, do you have the visual studios installed on your computer for windows, I know for windows its needed. |
Beta Was this translation helpful? Give feedback.
-
This post is slightly outdated, but give this a read, it might have a solution to this: |
Beta Was this translation helpful? Give feedback.
-
I have installed visual C++build tools and visual studio 2015, but still got this issue. |
Beta Was this translation helpful? Give feedback.
-
Hmm, is your numpy installed with conda or pip, i'm honestly not entirely sure how to go about this, using visual studios tends to be the error, but i'm running out of ideas |
Beta Was this translation helpful? Give feedback.
-
well, thank you @zssherman, i will try. |
Beta Was this translation helpful? Give feedback.
-
This issue is maybe because your visual studio is not coming in to rescue. I was facing the same error when installing scikit-learn in development mode. I resolved it as follows:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @TerMinator-spec for the information and suggested fix! |
Beta Was this translation helpful? Give feedback.
-
I have followed the suggestions from this link, and I am still getting problems installing the module. I am using python 3.7.3 in a conda environment, with all dependencies installed.
Are there any other suggestions I could try? |
Beta Was this translation helpful? Give feedback.
-
@Jillinger I'm honestly not sure. If trying all the options above didn't work i'm honestly out of ideas with this one. If you are trying to install for scikit learn, I would ping their issue board on their installation method for scikit learn or their community board. Make sure you have an up to date visual studios and python with the path. Are any other packages working in that environment? |
Beta Was this translation helpful? Give feedback.
-
Yes, all packages installed nicely, to my surprise, since I had trouble installing a few, like osmium. If I could get the pyrosm wheel, that would be nice. |
Beta Was this translation helpful? Give feedback.
-
@zssherman I think I found a way around the problem - creating wheels.
One question though. How do I clear the cache for pip? |
Beta Was this translation helpful? Give feedback.
-
Leaving this open as a reference for other users who might be running into similar issues. |
Beta Was this translation helpful? Give feedback.
-
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
building 'pyart.io._sigmetfile' extension
compiling C sources
error: Unable to find vcvarsall.bat
I got this issue when i tried to build setup.py. Can anyone please help me with this issue?
Beta Was this translation helpful? Give feedback.
All reactions