[Tutor] import problem

christopher.henk at allisontransmission.com christopher.henk at allisontransmission.com
Sat Aug 28 19:21:36 CEST 2010


tutor-bounces+christopher.henk=allisontransmission.com at python.org wrote on 
08/28/2010 12:54:28 PM:

> Hello, 
> 
> Im trying to do a import on a linux machine.
> But now Im gettting this message :
> 
> Python 2.6.5 (r265:79063, Apr  1 2010, 05:28:39) 
> [GCC 4.4.3 20100316 (prerelease)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import calender
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named calender
> >>> 

Did you try calendar (with an 'a')?  it might have just been a spelling 
mistake in your import

Can you do other imports from site-packages?


Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100828/1031f2ef/attachment.html>


More information about the Tutor mailing list