0

I installed numpy package in python 3.6 successfully, but when i tried to import numpy i got errors. Please see attached image: Link to Image

What i should do? I have windows 10 (64 bit).

5
  • did u upgrade python ? Commented Sep 20, 2017 at 13:29
  • No. But i deleted Python 2.6 before two days. I had two version in my computer. Now i have only one 3.6. This error happened in other computer too where i installed only one version of Python 3.6. The same that in two computers Windows 10. Commented Sep 20, 2017 at 13:31
  • Try updating python. The latest version is 3.6.2, while screenshot shows 3.6.0 Commented Sep 20, 2017 at 13:31
  • 2
    delete python 3.6 and install both numpy and python again Commented Sep 20, 2017 at 13:32
  • Okay. I will try. Can you please explain me how can i should do it? Commented Sep 20, 2017 at 13:35

2 Answers 2

1

As you are using python 3.6 (according to your screenshot), this comment on the official numpy release should be relevant for you (as this is exactly the version your pip install numpy is grabbing), although that's not something i have much experience with, as i'm using anaconda (recommended!) only.

Note that the Python 3.6 wheels available from PIP are built against 3.6.1, hence will not work when used with 3.6.0 due to Python bug 29943_. NumPy 1.13.2 will be released shortly after Python 3.6.2 is out to fix that problem. If you are using 3.6.0 the workaround is to upgrade to 3.6.1 or use an earlier Python version.

(bold annotations from me)

Sign up to request clarification or add additional context in comments.

Comments

0

Downgrade your numpy version to 1.12 , newer versions tend to be corrupted on Win10, check this out for more info, OR try upgrading your python version.

2 Comments

You're welcome, just be sure to select the correct answer as this, apparently, is an often occurring bug.
That link has nothing to do with OPs question as he does not use anaconda!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.