Pololu Robotics & Electronics
Menu
My account Comments or questions? About Pololu Contact Ordering information Distributors

Pololu Forum

Altimu10v5 rasperry pi library for python 3

#1

Hi
Im a newbie to raspberry pi.
i found a library for Altimu10v5 https://github.com/SvetoslavKuzmanov/altimu10v5
which is working in python2 not in python 3.
Is this library compatible python3 or am i not doing it correct .

Regards

#2

Hello.

Python 3 is not backwards compatible with Python 2. If that library was written for use in Python 2, it is likely you will have to go in the library and change some code to make it compatible with Python 3.

-Tony

#3

hei

i understand. im a newbie to python too.
i know print statement have a alternation not much other alternations.
can i ask is there any python 3 compatible librarys available in online.

regards

#4

Hello.

We have no recommendations on Python 3 compatible libraries for that board. I recommend looking into the differences between Python 2 and Python 3 and how to port Python 2 code to Python 3.

-Tony