Hello.
I'm trying to build exe file for project, containing pony orm module. 
(ponyorm.com)
Platform: Windows 7 32 
Python version 2.7
Pyinstaller 2.1
I've tried different options, but anyway I get "no module named 
dbproviders.sqlite.
I've found that module inside pony 
direcrory: C:\Python27\Lib\site-packages\pony\orm\dbproviders\sqlite.py
I've also found that error occures here in pony/utils.py file.

def import_module(name):
    "import_module('a.b.c') -> <module a.b.c>"
    mod = sys.modules.get(name)
    if mod is not None: return mod
    mod = __import__(name)
    components = name.split('.')
    for comp in components[1:]: mod = getattr(mod, comp)
    return mod

 I've read about hidden modules and tried his in my spec file
a = Analysis(['view.py'],
             pathex=['c:\\tmp\\ponyplay'],
             hiddenimports=['dbproviders.sqlite'],
            
 hookspath=['C:\\Python27\\Lib\\site-packages\\pony\\orm\\dbproviders'],
             runtime_hooks=None) 

Still I get error. Please help!

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" 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/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to