pyinstaller: compile python file to onefile -


i'm trying compile project on linux using pyinstaller

when i'm trying compile simple project it's working 100%

but when i'm trying compile project , it's have alot of code it's compile right when i'm trying run it's return error

say :

root@vps5838:/home/darksoul/pyinstaller/dist# ./test traceback (most recent call last):   file "<string>", line 11, in <module>   file "/usr/local/lib/python2.7/site-packages/pyinstaller/loader/pyi_importers.py", line 270, in load_module     exec(bytecode, module.__dict__)   file "/home/darksoul/pyinstaller/build/module/out00-pyz.pyz/pkg_resources", line 21, in <module>   file "/usr/local/lib/python2.7/site-packages/pyinstaller/loader/pyi_importers.py", line 270, in load_module     exec(bytecode, module.__dict__)   file "/home/darksoul/pyinstaller/build/module/out00-pyz.pyz/io", line 51, in <module>   file "/usr/local/lib/python2.7/site-packages/pyinstaller/loader/pyi_importers.py", line 409, in load_module     module = imp.load_module(fullname, fp, filename, self._c_ext_tuple) importerror: /tmp/_mei8vyoka/_io.so: undefined symbol: _pylong_asint 

what doing :

pyinstaller --onefile test.py 

my os : linux (ubuntu)

what should ?


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -