Thanks for the reply. But now i get an import error

>> print os.path.dirname(sys.executable)
C:\Users\Ruud\Desktop\Movie Manager2
>> print sys.path
['C:\\Users\\Ruud\\Desktop\\Movie Manager2\\library', 'C:\\Users\\Ruud\
\Desktop\
\Movie Manager2', 'C:/Users/Ruud/AppData/Local/Temp/_MEI36082', 'C:/
Users/Ruud/D
esktop/Movie Manager2', 'C:\\Users\\Ruud\\Desktop\\Movie Manager2\
\CouchPotato.e
xe?48640']



Traceback (most recent call last):
  File "<string>", line 42, in <module>
  File "Y:\Localhost\Python\MovieManager\pyInstaller\iu.py", line 436,
in import
Hook
  File "Y:\Localhost\Python\MovieManager\pyInstaller\iu.py", line 521,
in doimpo
rt
  File "C:\Users\Ruud\Desktop\Movie Manager2\app\__init__.py", line 1,
in <modul
e>
    from cherrypy.lib.auth import check_auth
  File "Y:\Localhost\Python\MovieManager\pyInstaller\iu.py", line 455,
in import
Hook
ImportError: No module named cherrypy


It can't seem to find cherrypy (and I suspect others after that) while
the cherrypy module is in "C:\\Users\\Ruud\\Desktop\\Movie Manager2".

My specfile:
# -*- mode: python -*-
a = Analysis([os.path.join(HOMEPATH,'support', '_mountzlib.py'),
os.path.join(HOMEPATH,'support', 'useUnicode.py'), '..\
\CouchPotato.py'],
             pathex=['Y:\\Localhost\\Python\\CouchPotato\
\pyInstaller', '..\\library', '..\\'],
 
excludes=['cherrypy','app','markupsafe','sqlalchemy','routes','minify','imdb','routes','mako']
             )
pyz = PYZ(a.pure)

library = Tree('..\\library', prefix = 'library', excludes =
['.DS_Store', '*.pyc'])
app = Tree('..\\app', prefix = 'app', excludes = ['.DS_Store',
'*.pyc'])
media = Tree('..\\media', prefix = 'media', excludes = ['.DS_Store',
'*.pyc'])
cherrypy = Tree('..\\cherrypy', prefix = 'cherrpy', excludes =
['.DS_Store', '*.pyc'])

exe = EXE(pyz,
                  a.scripts,
                  a.binaries,
          name = 'CouchPotato.exe',
          debug = False,
          strip = False,
          upx = True,
          console = True )

col = COLLECT(exe,
                  a.datas,
                  a.zipfiles,
                  cherrypy,
                  app,
                  media,
                  library,
          [('logging.conf', '..\\logging.conf', 'DATA')],
          name = os.path.join('build', 'CouchPotato')
                )

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to