Error: src directory does not exist | LabJack
 

Error: src directory does not exist

2 posts / 0 new
Last post
Andrealucia
Andrea Lucia's picture
Error: src directory does not exist

Dear LabJack community, 

when I try to install the python setup file, I get an error that saying that the package directory src does not exist. It is very clearly in the respective directory (see screenshot). 

I have not a lot of experience at all with programming and so on, and I can't find my way around this problem... so I'm grateful for any kind of help! Thanks!

Andrea

File Attachment: 
LabJack Support
labjack support's picture
You need to be in the same

You need to be in the same directory as the setup.py when running it. Currently it is searching for the src folder in your "C:\Users\Andrea Lucia" folder. In the terminal, use the "cd" command to go to your LabJackPython-5-26-2015 folder and run "python setup.py install". For example, the commands:

cd "C:\Users\Andrea Lucia\Desktop\LabJackPython-5-26-2015\LabJackPython-5-26-2015\"
python setup.py install

If you are using Python 3, you will need to use the version from GitHub (Clone or download):

https://github.com/labjack/LabJackPython