[Tutor] Swampy: No module name World
Dave Angel
davea at davea.name
Mon Jun 2 11:10:55 CEST 2014
Charles Agriesti <dragriesti at comcast.net> Wrote in message:
>
> from swampy.World import World
> world = World()
> ImportError: No module name World
1. please use text mail on this mailing-list. Your email software
should have an option to change that.
2. You're referring to some nonstandard package called swampy, and
the tutor list is dedicated to learning the language and standard
library. And you don't even tell us where you got it; did you
write it yourself? If not, you'd have better odds either on
python-list or on a swampy forum.
3. There are a few standard places that python looks for packages
and libraries. Clearly swampy is not installed in any of those
places. Please reread the installation instructions for
swampy.
4. If there are no such instructions, you can see the default
list of places by examining sys.path.
import sys
print sys.path
5. Generally you should include the whole traceback, not just one
line from it. In this case it didn't matter.
--
DaveA
More information about the Tutor
mailing list