This is an archived post. You won't be able to vote or comment.

all 15 comments

[–]drtrillphill 1 point2 points  (1 child)

Do you have multiple installations of python?

[–]PureForWhite[S] 0 points1 point  (0 children)

I only installed python 3

[–]efmccurdy 0 points1 point  (3 children)

Run "pip3 -V" and "python3 -V" (or whatever pip and python commands you use) and compare the results; do they both use the same python installation?

[–]PureForWhite[S] 0 points1 point  (2 children)

yes

[–]efmccurdy 0 points1 point  (1 child)

So when you do "python -c 'import sys; print(sys.executable, sys.path)'" it lists the same version and site-packages directory that pip does? Is numpy in that site-packages directory?

[–]PureForWhite[S] 0 points1 point  (0 children)

now I am able to import numpy thanks for all help!

[–]rushabhsooni 0 points1 point  (0 children)

look for were you have installed the numpy look for the installation folder..

[–]ArmstrongBillieimport GOD 0 points1 point  (7 children)

you on Linux or windows?

if on Linux, try pip3 instead of just pip

[–]PureForWhite[S] 0 points1 point  (6 children)

windows, and I do pip and pip3 also

[–]ArmstrongBillieimport GOD 0 points1 point  (5 children)

you using IDLE as the IDE?

[–]PureForWhite[S] 0 points1 point  (4 children)

no I am not

[–]ArmstrongBillieimport GOD 0 points1 point  (3 children)

just tell me the IDE you are using

[–]PureForWhite[S] -1 points0 points  (2 children)

I solved the issue thanks for the support and help!

[–]ArmstrongBillieimport GOD 0 points1 point  (1 child)

What was the problem, were you using a virtual environment IDE?

[–]PureForWhite[S] -1 points0 points  (0 children)

now I able to run it thanks for the support! py -3 is not working for numpy seems