On 01/16/2015 12:26 PM, PmB wrote:
On 01/16/2015 11:19 AM, PmB wrote:
./lin_reg/dist/lin_reg
Traceback (most recent call last):
File "<string>", line 4, in <module>
File
"/home/peter/Src/Python/Py_Installer/pyinstaller/PyInstaller/loader/pyi_importers.py",
line 270, in load_module
exec(bytecode, module.__dict__)
File
"/home/peter/Src/Python/Py_Installer/pyinstaller/lin_reg/build/lin_reg/out00-PYZ.pyz/matplotlib",
line 135, in <module>
ImportError: six 1.3 or later is required; you have 1.0.0
After digging around further I found the problem with the
'ImportError'. There is a version (1.0.0) of six in the directory
'./pyinstaller/PyInstaller/lib' which was being used during the
pyinstaller build. I gzip'd both ./pyinstaller/PyInstaller/lib/six.py
and ./pyinstaller/PyInstaller/lib/six.pyc and rebuilt the program. The
program still fails to execute, but the error is now (last few lines)
File
"/home/peter/Src/Python/Py_Installer/pyinstaller/PyInstaller/loader/pyi_importers.py",
line 270, in load_module
exec(bytecode, module.__dict__)
File
"/home/peter/Src/Python/Py_Installer/pyinstaller/lin_reg/build/lin_reg/out00-PYZ.pyz/matplotlib.font_manager",
line 1412, in <module>
File
"/home/peter/Src/Python/Py_Installer/pyinstaller/lin_reg/build/lin_reg/out00-PYZ.pyz/matplotlib.font_manager",
line 1397, in _rebuild
File
"/home/peter/Src/Python/Py_Installer/pyinstaller/lin_reg/build/lin_reg/out00-PYZ.pyz/matplotlib.font_manager",
line 1037, in __init__
File
"/home/peter/Src/Python/Py_Installer/pyinstaller/lin_reg/build/lin_reg/out00-PYZ.pyz/matplotlib.font_manager",
line 322, in findSystemFonts
File
"/home/peter/Src/Python/Py_Installer/pyinstaller/lin_reg/build/lin_reg/out00-PYZ.pyz/matplotlib.font_manager",
line 285, in get_fontconfig_fonts
TypeError: unicode() argument 2 must be string, not None
I get the same error after building the program 'test_matplotlib.py'
in the pyinstaller directory ./pyinstaller/tests/interactive, which would
point towards 'matplotlib' as the culprit, but I really don't know.
Any comments, thoughts or suggestions will be appreciated
Peter
Apologies this last error has been seen before, issue #885,
https://github.com/pyinstaller/pyinstaller/issues/885.
I will follow that
Peter
--
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 pyinstaller+unsubscr...@googlegroups.com.
To post to this group, send email to pyinstaller@googlegroups.com.
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.