Hi there,

I've been trying to see if I could get PyInstaller to run on OpenWRT-Yun 
(the Linux distro used on the Arduino Yun board).

The stable version (2.1) installed ok through *pip*. But running it against 
a "Hello World" script produces this:

Traceback (most recent call last):

  File "/usr/bin/pyinstaller", line 9, in <module>

    load_entry_point('PyInstaller==2.1', 'console_scripts', 'pyinstaller')()

  File "/usr/lib/python2.7/site-packages/PyInstaller/main.py", line 88, in 
run

    run_build(opts, spec_file, pyi_config)

  File "/usr/lib/python2.7/site-packages/PyInstaller/main.py", line 46, in 
run_build

    PyInstaller.build.main(pyi_config, spec_file, **opts.__dict__)

  File "/usr/lib/python2.7/site-packages/PyInstaller/build.py", line 1924, 
in main

    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get(
'clean_build'))

  File "/usr/lib/python2.7/site-packages/PyInstaller/build.py", line 1873, 
in build

    execfile(spec)

  File "/www/bob/bob.spec", line 6, in <module>

    runtime_hooks=None)

  File "/usr/lib/python2.7/site-packages/PyInstaller/build.py", line 446, in 
__init__

    self.__postinit__()

  File "/usr/lib/python2.7/site-packages/PyInstaller/build.py", line 309, in 
__postinit__

    self.assemble()

  File "/usr/lib/python2.7/site-packages/PyInstaller/build.py", line 575, in 
assemble

    manifest=depmanifest)[1:])

  File "/usr/lib/python2.7/site-packages/PyInstaller/bindepend.py", line 167
, in Dependencies

    for lib, npth in selectImports(pth, xtrapath):

  File "/usr/lib/python2.7/site-packages/PyInstaller/bindepend.py", line 390
, in selectImports

    dlls = getImports(pth)

  File "/usr/lib/python2.7/site-packages/PyInstaller/bindepend.py", line 584
, in getImports

    return _getImports_ldd(pth)

  File "/usr/lib/python2.7/site-packages/PyInstaller/bindepend.py", line 445
, in _getImports_ldd

    for line in compat.exec_command('ldd', pth).splitlines():

  File "/usr/lib/python2.7/site-packages/PyInstaller/compat.py", line 210, 
in exec_command

    return subprocess.Popen(cmdargs, stdout=subprocess.PIPE).communicate()[0
]

  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__

    errread, errwrite)

  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child

    raise child_exception

OSError: [Errno 2] No such file or directory


I'm not entirely sure what's going wrong, or where, and was hoping someone 
might be able to point me in the right direction.

The spec file is created ok - http://pastebin.com/GE73u6cR - and I've 
included a full DEBUG log at http://pastebin.com/U7LcjVrK.

Any ideas would be much appreciated. I'm a bit stuck at this point.

All the best,

K

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