Skip to content

Commit 23206ac

Browse files
making mscl import robust across mscl verions
1 parent 4fd8b57 commit 23206ac

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

opensourceleg/sensors/imu.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ def __init__(
112112
"Failed to import mscl. Please install the MSCL library from Lord Microstrain and append the path "
113113
"to the PYTHONPATH or sys.path. Checkout https://github.com/LORD-MicroStrain/MSCL/tree/master "
114114
"and https://lord-microstrain.github.io/MSCL/Documentation/MSCL%20API%20Documentation/index.html"
115+
"If you are using a newer version of MSCL, you may need to add /usr/lib/python3.version/dist-packages \
116+
to PYTHONPATH"
115117
)
116118

117119
if not offline:

0 commit comments

Comments
 (0)