On Thu, Mar 14, 2013 at 11:09 PM, Harjot Mann <[email protected]>wrote:

> hello everyone
>
> i have convert the python file to exe file using freeze
> but the executable file is not working..
> when im running it as  ./filename
> it is giving me this error..
>
>     Traceback (most recent call last):
>   File "rectangle.py", line 2, in <module>
>     from gasp import *
>   File "/usr/lib/pymodules/python2.7/gasp/__init__.py", line 15, in
> <module>
>     from api import *
>   File "/usr/lib/pymodules/python2.7/gasp/api.py", line 26, in <module>
>     import backend
>   File "/usr/lib/pymodules/python2.7/gasp/backend.py", line 25, in <module>
>     import cairo
>   File "/usr/lib/python2.7/dist-packages/cairo/__init__.py", line 1, in
> <module>
>     from _cairo import *
> ImportError: No module named _cairo
>
> please help me...
>

1) This doesn't appear to be a question about Django. You're going to have
much better luck asking for details about freeze on a Python-specific
mailing list.

2) Which part of error message doesn't make sense? Python can't import the
module _cairo. This means that either you haven't installed Cairo, or it
isn't installed properly. This may well be a side effect of using freeze on
a module that has a binary component -- but as I said in the first point,
you'll need to take that up on a Python mailing list.

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to