Hi

i'm tring to use py2app on a paython script
it create the executable  myapp.app
but when i try to launch it
i've that it can't finde the modules
needed by myapp.app


liararies needed by
myapp.py :

#!/usr/bin/python
import os
from scipy import io, linalg
from numpy import *
from pylab import save
import sys
from PyQt4 import QtGui
from PyQt4 import QtCore


these what i tried :


py2applet --make-setup myapp.py
Wrote setup.py
host716:py sasha$ python setup.py py2app -A
running py2app
creating /Users/sasha/Desktop/py/build
creating /Users/sasha/Desktop/py/build/bdist.macosx-10.5-i386
creating /Users/sasha/Desktop/py/build/bdist.macosx-10.5-i386/ python2.5-semi_standalone creating /Users/sasha/Desktop/py/build/bdist.macosx-10.5-i386/ python2.5-semi_standalone/app creating /Users/sasha/Desktop/py/build/bdist.macosx-10.5-i386/ python2.5-semi_standalone/app/collect creating /Users/sasha/Desktop/py/build/bdist.macosx-10.5-i386/ python2.5-semi_standalone/app/temp
creating /Users/sasha/Desktop/py/dist
creating build/bdist.macosx-10.5-i386/python2.5-semi_standalone/app/ lib-dynload creating build/bdist.macosx-10.5-i386/python2.5-semi_standalone/app/ Frameworks
*** creating application bundle: degree ***
host716:py sasha$



tring to run myapp.py
i get :

5/21/08 12:56:59 PM mayapp[20272] myapp Error
An unexpected error has occurred during execution of the main script

ImportError: No module named scipy



olease can you help me to learn how to include the external modules into myapp ?

thanks for any help!

Massimo.


Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to