Hello I try to use Pyinstaller with my python script. My script call a module named shapely that require geos. When I try to build with Pyinstaller, I have this :
checking Analysis building Analysis because outAnalysis0.toc non existent running Analysis outAnalysis0.toc Analyzing: support/_mountzlib.py Analyzing: support/useUnicode.py Analyzing: /home/python/code/ana.py W: library libc.so.1 required via ctypes not found Warnings written to ana/warnana.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 ana missing building EXE from outEXE2.toc Appending archive to EXE ana/build/pyi.linux2/ana/ana checking COLLECT building because outCOLLECT4.toc missing or bad building COLLECT outCOLLECT4.toc I think this "W: library libc.so.1 required via ctypes not found" that is the most important but I don't know. After if I try the executable on my computer, it work perfectly. But if I try on an other computer, I have the following errors : Traceback (most recent call last): File "<string>", line 37, in <module> File "/home/python/Téléchargements/pyinstaller-1.4/iu.py", line 436, in importHook File "/home/python/Téléchargements/pyinstaller-1.4/iu.py", line 521, in doimport File "ana/build/pyi.linux2/ana/outPYZ1.pyz/shapely.geometry", line 4, in <module> File "/home/python/Téléchargements/pyinstaller-1.4/iu.py", line 436, in importHook File "/home/python/Téléchargements/pyinstaller-1.4/iu.py", line 521, in doimport File "ana/build/pyi.linux2/ana/outPYZ1.pyz/shapely.geometry.geo", line 5, in <module> File "/home/python/Téléchargements/pyinstaller-1.4/iu.py", line 436, in importHook File "/home/python/Téléchargements/pyinstaller-1.4/iu.py", line 521, in doimport File "ana/build/pyi.linux2/ana/outPYZ1.pyz/shapely.geometry.point", line 7, in <module> File "/home/python/Téléchargements/pyinstaller-1.4/iu.py", line 436, in importHook File "/home/python/Téléchargements/pyinstaller-1.4/iu.py", line 521, in doimport File "ana/build/pyi.linux2/ana/outPYZ1.pyz/shapely.geos", line 102, in <module> File "ana/build/pyi.linux2/ana/outPYZ1.pyz/shapely.geos", line 97, in _geos_c_version File "ana/build/pyi.linux2/ana/outPYZ1.pyz/ctypes", line 366, in __getattr__ File "ana/build/pyi.linux2/ana/outPYZ1.pyz/ctypes", line 371, in __getitem__ AttributeError: ./ana: undefined symbol: GEOSversion Is anyone have any idea ? Thanks -- 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.
