0

Mag Tag Circuit Python Dependency Problems
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Mag Tag Circuit Python Dependency Problems

by rgall on Fri Feb 19, 2021 6:16 pm

Hi,

Help, I am dead in the water until this is resolved

I updated MagTag Circuit Python to new version Bundle Version 6.X.

I replaced adafruit_MagTag Folder.
Ran my code.
First errors
Code: Select all | TOGGLE FULL SIZE
Traceback (most recent call last):
  File "code.py", line 8, in <module>
  File "adafruit_magtag/magtag.py", line 32, in <module>
ImportError: no module named 'adafruit_portalbase'


I added Adafruit_portbase Folder
Now the following error message

Code: Select all | TOGGLE FULL SIZE
Traceback (most recent call last):
  File "code.py", line 8, in <module>
  File "adafruit_magtag/magtag.py", line 32, in <module>
  File "adafruit_portalbase/__init__.py", line 28, in <module>
ImportError: no module named 'adafruit_display_text.wrap_text_to_lines'


I can not find the module anywhere.

rgall
 
Posts: 13
Joined: Mon Dec 05, 2016 10:46 am

Re: Mag Tag Circuit Python Dependency Problems

by rgall on Fri Feb 19, 2021 8:42 pm

Problem solved. Built library from scratch. Installed only the dependencies I needed

Thanks Dastels!

Rod

rgall
 
Posts: 13
Joined: Mon Dec 05, 2016 10:46 am

Please be positive and constructive with your questions and comments.