LabJack, Python and WSL | LabJack
 

LabJack, Python and WSL

2 posts / 0 new
Last post
Blank Space
ncabalos's picture
LabJack, Python and WSL

Does python scripting work for LabJack under the Windows Subsystem for Linux (WSL) environment?

LabJack Support
LabJack Support's picture
Yes, you can get LJM and our

Yes, you can get LJM and our Python module working in WSL. You should be able to access both Windows and Linux binary, which can get confusing. You need to ensure you link against the correct binary for our LJM library, in the correct Python version, with our Python module installed for the correct Python version. If you run "python.exe" it will look for Python installed for Windows and should try to link against our Windows DLL when importing our Python module. If you run "/usr/bin/python" it should try to link against our Linux shared library.