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

Pololu Forum

Altimu10v5 rasperry pi library for python 3


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 .




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.




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.




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.