CINF / PyExpLabSys

Python for Experimental Lab Systems: Serial drivers, file parsers, data and live sockets
GNU General Public License v3.0
74 stars 33 forks source link

installing PyExpLabSys package -- Python 3 #46

Closed omarkabd closed 1 year ago

omarkabd commented 2 years ago

Don't understand how to install PyExpLabSys package. I need to use the XGS-600 module to read pressure from the gauge controller. Using pip install PyExpLabSys is not working. Any solutions?

hamid91hh commented 1 year ago

I have the same problem. pip install PyExpLabSys doesn't work! Also, I didn't succeed to install the PyExpLabSys package manually. I would be grateful if somebody could suggest an alternative solution or fix this issue.

KennethNielsen commented 1 year ago

I don't think we ever got around to pushing it up to PyPI. However, most of the drivers depend only on the rest of the package for a no-op marker of python version, so in the mean time, you could just copy the file that contains the driver over to your codebase and delete these two lines:

from PyExpLabSys.common.supported_versions import python2_and_3
python2_and_3(__file__)
omarkabd commented 1 year ago

Great. Thank you for your help!

KennethNielsen commented 1 year ago

No problem. I will close this issue and create one for packaging.