ImportError: cannot find name device | LabJack
 

ImportError: cannot find name device

2 posts / 0 new
Last post
Andrealucia
Andrea Lucia's picture
ImportError: cannot find name device

Dear labjack community, 

as visible in the screenshot I attached, I get the described error when I try to run my code. It works on another computer, but not on mine, and I do not know what could be the problem here. (The device is connected to my computer and works.)

Thank you for your help!

Andrea

File Attachment: 
LabJack Support
labjack support's picture
Judging from the error,

Judging from the error, LabJackPython doesn't look to be installed or has issues being found. You will want to double check that you have installed LabJackPython for your Spyder Python 3.6 environment. Make sure to install the version from GitHub which has Python 3.x beta compatibility:

https://github.com/labjack/LabJackPython/tree/master/src

If you have multiple Python versions installed, note that one LabJackPython installation will not apply for all Python versions, and that installation is required for the versions you are going to use.