pyvisa / pyvisa

A Python package with bindings to the "Virtual Instrument Software Architecture" VISA library, in order to control measurement devices and test equipment via GPIB, RS232, or USB.

Home Page:https://pyvisa.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pyinstaller to pack the pyvisa-py

universeviva opened this issue · comments

commented

I have a question about pyinstaller

i use the Pyinstaller to pack the pyvisa-py in order to get a executable program in ubuntu.

i exe the programer that can detect network instrument but not detect usb instrument.

system environment: ubuntu

pack command :pyinstaller --distpath /opt/ate-conn-uni-standard --name conn-stand --collect-all=sanic --hidden-import=pyvisa_py --hidden-import=pyusb -F main.py

I look forward to your reply. Thank you very much

commented

Have you read the docu on pyinstaller esp the troubleshooting guide?
Would it be possible to share the logfiles?

I assume usb instruments are not detected due to missing pyusb or its lower-lvel dependencies..
Could also be a linux user-rights issue..

commented

i understand thank you

commented

thank you i see