You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general, when programming in Python, if you get the error message "No module named X" you can solve it by going to your Terminal and typing the command: "sudo pip install X". Sudo means 'run this command with administrator privileges'. And pip is the Python package manager which allows you to install Python libraries.
If you are learning Python, I would recommend learning about pip here:
So in answer to your specific question, the problem is main.py requires a third-party module called Numpy, which is not installed on your computer. You can solve this by going to your Terminal and typing "sudo pip install numpy" and this will fix the problem.
I am trying python and this for the first time. I installed python 2.7 and when I run the command "python main.py" I get "No module name NumPy" error
The text was updated successfully, but these errors were encountered: