Hi,
Matplotlib is on the list of 'Supported packages' for pyinstaller, but
when I tried building a file containing just 'import matplotlib' I get
an error relating to MATPLOTLIBDATA. I am running pyinstaller on a
mac, so maybe that is the problem?
Thanks for any advice,
Thomas
$ cat test.py
import matplotlib
$ python Makespec.py test.py
wrote /Users/tom/Code/pyinstaller/test/test.spec
now run Build.py to build the executable
$ python Build.py test/test.spec
checking Analysis
building Analysis because outAnalysis0.toc non existent
running Analysis outAnalysis0.toc
Analyzing: support/_mountzlib.py
Analyzing: support/useUnicode.py
Analyzing: test.py
Warnings written to test/warntest.txt
checking PYZ
rebuilding outPYZ1.toc because outPYZ1.pyz is missing
building PYZ outPYZ1.toc
checking PKG
rebuilding outPKG3.toc because outPKG3.pkg is missing
building PKG outPKG3.pkg
checking EXE
rebuilding outEXE2.toc because test missing
building EXE from outEXE2.toc
Appending archive to EXE test/build/pyi.darwin/test/test
checking COLLECT
building because outCOLLECT4.toc missing or bad
building COLLECT outCOLLECT4.toc
$ test/dist/test/test
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/tom/Code/pyinstaller/iu.py", line 439, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/Users/tom/Code/pyinstaller/iu.py", line 524, in doimport
exec co in mod.__dict__
File "test/build/pyi.darwin/test/outPYZ1.pyz/matplotlib", line 709,
in <module>
File "test/build/pyi.darwin/test/outPYZ1.pyz/matplotlib", line 627,
in rc_params
File "test/build/pyi.darwin/test/outPYZ1.pyz/matplotlib", line 569,
in matplotlib_fname
File "test/build/pyi.darwin/test/outPYZ1.pyz/matplotlib", line 240,
in wrapper
File "test/build/pyi.darwin/test/outPYZ1.pyz/matplotlib", line 483,
in _get_data_path_cached
File "test/build/pyi.darwin/test/outPYZ1.pyz/matplotlib", line 453,
in _get_data_path
RuntimeError: Path in environment MATPLOTLIBDATA not a directory
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---