i'm running python 2.7.12 simple python file , importing couple of modules (pyqt5 , usb1). no additional assets or files.
when try bundle app, default spec file, app works fine on host machine. trying run on machine (with python 2.7.10) fails error: oserror: dlopen(libusb-1.0.dylib, 6): image not found. added following in spec file in analysis object :
binaries=[('/usr/local/cellar/libusb/1.0.20/lib/libusb-1.0.0.dylib', 'libusb-1.0.0.dylib')],
doesn't work either. getting libusb1 work pyinstaller bundle? i'm using osx 10.10.3
thanks
ok, solved it! manually copied libusb-1.0.0.dylib /usr/local/cellar/libusb/1.0.20/lib/ , pasted/overwrote 1 in distributed folder. created symlink in folder libusb-1.0.dylib , seemed it. hope helps someone!
Comments
Post a Comment