CLUE error after lib update

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Tonygo
 
Posts: 108
Joined: Fri Apr 13, 2018 11:09 am

CLUE error after lib update

Post by Tonygo »

Just updated to CP 5.3.1 and all the libraries after seeing that the CLUE library has been changed/improved.

Now I just get missing module errors that I cannot fix.

Code: Select all

Traceback (most recent call last):
  File "main.py", line 8, in <module>
  File "adafruit_clue.py", line 71, in <module>
ImportError: no module named 'adafruit_lsm6ds.lsm6ds33'
I've tried the examples: "spirit level" and "sensor data"

Some suggestions, please.

User avatar
adafruit_support_carter
 
Posts: 29153
Joined: Tue Nov 29, 2016 2:45 pm

Re: CLUE error after lib update

Post by adafruit_support_carter »

That looks like a library issue. How did you do the library update?

User avatar
Tonygo
 
Posts: 108
Joined: Fri Apr 13, 2018 11:09 am

Re: CLUE error after lib update

Post by Tonygo »

I used a Windows 10 machine.
I unzipped the new lib files into one window and dragged them, one at a time, onto another window with the CLUE. lib files exposed. Each time I said replace the file.

I've always done it this way, so I don't miss one, and it has worked previously. There is no new lib for - lsm6ds ?

User avatar
adafruit_support_carter
 
Posts: 29153
Joined: Tue Nov 29, 2016 2:45 pm

Re: CLUE error after lib update

Post by adafruit_support_carter »

"new" would depend on when you last did a library update. You can see the releases here:
https://github.com/adafruit/Adafruit_Ci ... S/releases

Based on the text in the error message, it looks like you are using an older version of the LSM6DS library.

For libraries that are more than one file, like the LSM6DS, be sure to update the entire folder. Not just a single file within that folder.

User avatar
Tonygo
 
Posts: 108
Joined: Fri Apr 13, 2018 11:09 am

Re: CLUE error after lib update

Post by Tonygo »

pybadger is also missing from the new lib list.

User avatar
adafruit_support_carter
 
Posts: 29153
Joined: Tue Nov 29, 2016 2:45 pm

Re: CLUE error after lib update

Post by adafruit_support_carter »

Which bundle version are you using? I just checked the adafruit-circuitpython-bundle-5.x-mpy-20200901.zip release and it contains the pybadger library.

User avatar
Tonygo
 
Posts: 108
Joined: Fri Apr 13, 2018 11:09 am

Re: CLUE error after lib update

Post by Tonygo »

Thanks for your help. It is working now.

Locked
Please be positive and constructive with your questions and comments.

Return to “CLUE Board”