I I include any of these lines of code, the build fails every time. Does 
anyone know what is the issue here?

from IPython.nbformat import current as nbformat
from IPython.nbconvert import exporters
import IPython.nbconvert
from IPython.config import Config
from IPython.nbconvert import HTMLExporter, SlidesExporter

*Error Message:*
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\david>cd C:\Users\david\Desktop\misc\simple2

C:\Users\david\Desktop\misc\simple2>pyinstaller --onefile app.py
18 INFO: wrote C:\Users\david\Desktop\misc\simple2\app.spec
36 INFO: Testing for ability to set icons, version resources...
43 INFO: ... resource update available
46 INFO: UPX is not available.
69 INFO: Processing hook hook-os
187 INFO: Processing hook hook-time
189 INFO: Processing hook hook-cPickle
258 INFO: Processing hook hook-_sre
379 INFO: Processing hook hook-cStringIO
474 INFO: Processing hook hook-encodings
488 INFO: Processing hook hook-codecs
872 INFO: Processing hook hook-httplib
876 INFO: Processing hook hook-email
985 INFO: Processing hook hook-email.message
1248 WARNING: library python%s%s required via ctypes not found
1391 INFO: Extending PYTHONPATH with C:\Users\david\Desktop\misc\simple2
1391 INFO: checking Analysis
1391 INFO: building Analysis because out00-Analysis.toc non existent
1391 INFO: running Analysis out00-Analysis.toc
1392 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final 
executable

1480 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.
21022.8_none ...
1480 WARNING: Assembly not found
1481 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
not found
1605 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.
21022.8_none ...
1605 WARNING: Assembly not found
1606 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
not found
1733 INFO: Analyzing 
C:\Users\david\Anaconda\lib\site-packages\PyInstaller\loade
r\_pyi_bootstrap.py
1748 INFO: Processing hook hook-os
1763 INFO: Processing hook hook-site
1780 INFO: Processing hook hook-encodings
1896 INFO: Processing hook hook-time
1901 INFO: Processing hook hook-cPickle
1970 INFO: Processing hook hook-_sre
2098 INFO: Processing hook hook-cStringIO
2205 INFO: Processing hook hook-codecs
2602 INFO: Processing hook hook-httplib
2606 INFO: Processing hook hook-email
2720 INFO: Processing hook hook-email.message
2964 WARNING: library python%s%s required via ctypes not found
3141 INFO: Processing hook hook-pydoc
3202 INFO: Analyzing 
C:\Users\david\Anaconda\lib\site-packages\PyInstaller\loade
r\pyi_importers.py
3320 INFO: Analyzing 
C:\Users\david\Anaconda\lib\site-packages\PyInstaller\loade
r\pyi_archive.py
3434 INFO: Analyzing 
C:\Users\david\Anaconda\lib\site-packages\PyInstaller\loade
r\pyi_carchive.py
3557 INFO: Analyzing 
C:\Users\david\Anaconda\lib\site-packages\PyInstaller\loade
r\pyi_os_path.py
3569 INFO: Analyzing app.py
4056 INFO: Processing hook hook-distutils
4213 INFO: Processing hook hook-xml
4266 INFO: Processing hook hook-xml.sax
4299 INFO: Processing hook hook-pyexpat
5282 INFO: Processing hook hook-IPython
6495 INFO: Processing hook hook-parser
6711 INFO: Processing hook hook-sysconfig
7110 INFO: Processing hook hook-setuptools
7335 INFO: Processing hook hook-xml.dom
7345 INFO: Processing hook hook-xml.dom.domreg
7409 INFO: Processing hook hook-win32com
7417 INFO: Processing hook hook-win32com.client
7434 INFO: Processing hook hook-pythoncom
Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "C:\Users\david\Anaconda\lib\site-packages\pythoncom.py", line 2, in 
<mod
ule>
    import pywintypes
  File "C:\Users\david\Anaconda\lib\site-packages\win32\lib\pywintypes.py", 
line
 124, in <module>
    __import_pywin32_system_module__("pywintypes", globals())
  File "C:\Users\david\Anaconda\lib\site-packages\win32\lib\pywintypes.py", 
line
 98, in __import_pywin32_system_module__
    raise ImportError("No system module '%s' (%s)" % (modname, filename))
ImportError: No system module 'pywintypes' (pywintypes27.dll)
7496 INFO: Processing hook hook-pywintypes
Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "C:\Users\david\Anaconda\lib\site-packages\pythoncom.py", line 2, in 
<mod
ule>
    import pywintypes
  File "C:\Users\david\Anaconda\lib\site-packages\win32\lib\pywintypes.py", 
line
 124, in <module>
    __import_pywin32_system_module__("pywintypes", globals())
  File "C:\Users\david\Anaconda\lib\site-packages\win32\lib\pywintypes.py", 
line
 98, in __import_pywin32_system_module__
    raise ImportError("No system module '%s' (%s)" % (modname, filename))
ImportError: No system module 'pywintypes' (pywintypes27.dll)
7611 INFO: Processing hook hook-win32ui
8092 INFO: Processing hook hook-_tkinter
8243 INFO: checking Tree
8243 INFO: building because out00-Tree.toc missing or bad
8244 INFO: building Tree out00-Tree.toc
8582 INFO: checking Tree
8583 INFO: building because out01-Tree.toc missing or bad
8583 INFO: building Tree out01-Tree.toc
8926 INFO: Processing hook hook-matplotlib
9748 INFO: Processing hook hook-pytz
10055 INFO: Processing hook hook-PyQt4
10056 INFO: Processing hook hook-PyQt4.QtGui
17016 INFO: Processing hook hook-matplotlib.backends
17418 INFO: Processing hook hook-PIL
17438 INFO: Processing hook hook-PIL.Image
17863 INFO: Processing hook hook-PyQt4.QtCore
17927 INFO: Processing hook hook-PySide
18037 INFO: Processing hook hook-zmq
18315 INFO: Processing hook hook-PyQt4.QtSvg
20241 INFO: Processing hook hook-docutils
20710 INFO: Processing hook hook-Image
20947 INFO: Processing hook hook-PIL.SpiderImagePlugin
21026 INFO: Processing hook hook-pygments.lexers
21067 INFO: Processing hook hook-pygments.styles
21734 INFO: Processing hook hook-sqlite3
21837 INFO: Hidden import 'codecs' has been found otherwise
21837 INFO: Hidden import 'encodings' has been found otherwise
21838 INFO: Looking for run-time hooks
21842 INFO: Analyzing rthook 
C:\Users\david\Anaconda\lib\site-packages\PyInstall
er\loader\rthooks\pyi_rth_PIL_Image.py
21953 INFO: Analyzing rthook 
C:\Users\david\Anaconda\lib\site-packages\PyInstall
er\loader\rthooks\pyi_rth_Image.py
22066 INFO: Analyzing rthook 
C:\Users\david\Anaconda\lib\site-packages\PyInstall
er\loader\rthooks\pyi_rth_Tkinter.py
22172 INFO: Analyzing rthook 
C:\Users\david\Anaconda\lib\site-packages\PyInstall
er\loader\rthooks\pyi_rth_qt4plugins.py
22278 INFO: Analyzing rthook 
C:\Users\david\Anaconda\lib\site-packages\PyInstall
er\loader\rthooks\pyi_rth_mplconfig.py
22402 INFO: Analyzing rthook 
C:\Users\david\Anaconda\lib\site-packages\PyInstall
er\loader\rthooks\pyi_rth_mpldata.py
22508 INFO: Analyzing rthook 
C:\Users\david\Anaconda\lib\site-packages\PyInstall
er\loader\rthooks\pyi_rth_pkgres.py
22691 INFO: Analyzing rthook 
C:\Users\david\Anaconda\lib\site-packages\PyInstall
er\loader\rthooks\pyi_rth_win32comgenpy.py
22954 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
22955 WARNING: Assembly not found
22955 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
23812 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
23813 WARNING: Assembly not found
23814 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
24184 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
24184 WARNING: Assembly not found
24184 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
24704 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
24704 WARNING: Assembly not found
24705 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
24987 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
24988 WARNING: Assembly not found
24988 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
27486 WARNING: lib not found: libzmq.pyd dependency of 
C:\Users\david\Anaconda\l
ib\site-packages\zmq\devices\monitoredqueue.pyd
27760 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
27761 WARNING: Assembly not found
27761 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
28549 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
28549 WARNING: Assembly not found
28549 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
31258 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
31259 WARNING: Assembly not found
31260 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
31542 INFO: Adding Microsoft.VC90.MFC to dependent assemblies of final 
executabl
e
31625 INFO: Searching for assembly 
amd64_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
31626 INFO: Found manifest 
C:\Users\david\Anaconda\lib\site-packages\Pythonwin\M
icrosoft.VC90.MFC.manifest
31628 INFO: Searching for file mfc90.dll
31629 INFO: Found file 
C:\Users\david\Anaconda\lib\site-packages\Pythonwin\mfc90
.dll
31630 INFO: Searching for file mfc90u.dll
31630 INFO: Found file 
C:\Users\david\Anaconda\lib\site-packages\Pythonwin\mfc90
u.dll
31631 INFO: Searching for file mfcm90.dll
31631 INFO: Found file 
C:\Users\david\Anaconda\lib\site-packages\Pythonwin\mfcm9
0.dll
31632 INFO: Searching for file mfcm90u.dll
31632 INFO: Found file 
C:\Users\david\Anaconda\lib\site-packages\Pythonwin\mfcm9
0u.dll
32253 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
32253 WARNING: Assembly not found
32254 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
32412 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
32414 WARNING: Assembly not found
32414 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
32540 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
32541 WARNING: Assembly not found
32542 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
32707 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
32707 WARNING: Assembly not found
32707 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
32871 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
32872 WARNING: Assembly not found
32872 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
33649 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
33651 WARNING: Assembly not found
33651 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
33926 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
33927 WARNING: Assembly not found
33927 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
34199 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
34199 WARNING: Assembly not found
34200 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
34270 INFO: Adding Microsoft.Windows.Common-Controls to dependent 
assemblies of
final executable
34352 INFO: Searching for assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
.21022.8_none ...
34353 WARNING: Assembly not found
34355 ERROR: Assembly 
amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
 not found
34448 INFO: Using Python library C:\Users\david\Anaconda\python27.dll
34767 INFO: Warnings written to 
C:\Users\david\Desktop\misc\simple2\build\app\wa
rnapp.txt
34799 INFO: checking PYZ
34799 INFO: rebuilding out00-PYZ.toc because out00-PYZ.pyz is missing
34800 INFO: building PYZ (ZlibArchive) out00-PYZ.toc
41388 INFO: checking PKG
41388 INFO: rebuilding out00-PKG.toc because out00-PKG.pkg is missing
41389 INFO: building PKG (CArchive) out00-PKG.pkg
Traceback (most recent call last):
  File "C:\Users\david\Anaconda\Scripts\pyinstaller-script.py", line 9, in 
<modu
le>
    load_entry_point('PyInstaller==2.1', 'console_scripts', 'pyinstaller')()
  File "C:\Users\david\Anaconda\lib\site-packages\PyInstaller\main.py", 
line 88,
 in run
    run_build(opts, spec_file, pyi_config)
  File "C:\Users\david\Anaconda\lib\site-packages\PyInstaller\main.py", 
line 46,
 in run_build
    PyInstaller.build.main(pyi_config, spec_file, **opts.__dict__)
  File "C:\Users\david\Anaconda\lib\site-packages\PyInstaller\build.py", 
line 19
24, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), 
kw.get('clean_build'
))
  File "C:\Users\david\Anaconda\lib\site-packages\PyInstaller\build.py", 
line 18
73, in build
    execfile(spec)
  File "C:\Users\david\Desktop\misc\simple2\app.spec", line 17, in <module>
    console=True )
  File "C:\Users\david\Anaconda\lib\site-packages\PyInstaller\build.py", 
line 11
70, in __init__
    strip_binaries=self.strip, upx_binaries=self.upx,
  File "C:\Users\david\Anaconda\lib\site-packages\PyInstaller\build.py", 
line 10
08, in __init__
    self.__postinit__()
  File "C:\Users\david\Anaconda\lib\site-packages\PyInstaller\build.py", 
line 30
9, in __postinit__
    self.assemble()
  File "C:\Users\david\Anaconda\lib\site-packages\PyInstaller\build.py", 
line 10
50, in assemble
    dist_nm=inm)
  File "C:\Users\david\Anaconda\lib\site-packages\PyInstaller\build.py", 
line 84
2, in checkCache
    digest = cacheDigest(fnm)
  File "C:\Users\david\Anaconda\lib\site-packages\PyInstaller\build.py", 
line 79
6, in cacheDigest
    data = open(fnm, "rb").read()
IOError: [Errno 22] invalid mode ('rb') or filename: ''

C:\Users\david\Desktop\misc\simple2>

-- 
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