Hello,

I have been successfully using pyinstaller to compile my python script into 
an executable within a directory, under Ubuntu 10.04. My executable uses 
python-svn (pysvn). In my working binary under Ubuntu 10.04 the pysvn is 
copied as pysvn._pysvn_2_6.so, as that pysvn was of version 2.6 and this 
works. When I temporarily move this file out of my directory, then I get 
the error 'Import Error: No module named _pysvn_2_6', and if I move that 
.so back, then everything works fine.

Now I have Ubuntu 14 and this have python 2.7. After I use pyinstaller and 
compile, this binary folder also contains a file pysvn._pysvn_2_7.so. 
However, when I try to run my exeuctable, I get the below error


Traceback (most recent call last):
  File "<string>", line 22, in <module>
  File 
"/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1-py2.7.egg/PyInstaller/loader/pyi_importers.py",
 
line 270, in load_module
    exec(bytecode, module.__dict__)
  File "/home/joe/build/binary/out00-PYZ.pyz/pysvn", line 99, in <module>
ImportError: No module named _pysvn_2_7


If I rename my pysvn._pysvn_2_7.so to just _pysvn_2_7.so, then I get the 
error:

Traceback (most recent call last):
  File "<string>", line 22, in <module>
  File 
"/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1-py2.7.egg/PyInstaller/loader/pyi_importers.py",
 
line 270, in load_module
    exec(bytecode, module.__dict__)
  File "/home/joe/build/binary/out00-PYZ.pyz/pysvn", line 99, in <module>
SystemError: dynamic module not initialized properly

My python file itself (without compilation using pyinstaller), works 
correctly without any issues.

So it is not clear where the problem is. Is it in pysvn or is there 
something with pyinstaller and Ubuntu 14 x86_64.

Best Regards,  
Joe.



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