Python Forum
No Module of this name found
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No Module of this name found
#1
I entered the code for a spirograph printing program which was in the book "python playground" by Mahesh Venkitachalam only to find that it would not run.
The error:
Error:
Traceback (most recent call last): File "C:\Users\New\Andys Docs\Python\Scripts\spiro.py", line 5, in <module> import numpy as np ImportError: No module named 'numpy'
and, after commenting that line and rerunning, got:
Error:
Traceback (most recent call last): File "C:\Users\New\Andys Docs\Python\Scripts\spiro.py", line 9, in <module> from PIL import image ImportError: No module named 'PIL'
The modules not being available surprised me somewhat as I thought that 'numpy' at least was downloaded with Python as standard.
I am using Python 3.5.0 under Microsoft Windows 10. I have not tried anything else because, quite frankly, if the modules are not on my machine, then I don't know what to do next. Can someone please tell me how to resolve these problems?
Reply


Messages In This Thread
No Module of this name found - by wookie - Oct-31-2018, 03:39 PM
RE: No Module of this name found - by j.crater - Oct-31-2018, 04:05 PM
RE: No Module of this name found - by wookie - Oct-31-2018, 04:59 PM
RE: No Module of this name found - by snippsat - Oct-31-2018, 06:19 PM
RE: No Module of this name found - by wookie - Oct-31-2018, 07:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Module not found error minifizikus 1 4,190 Sep-14-2018, 08:25 AM
Last Post: Axel_Erfurt

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020