Problems installing vilib on picar-x

I’m using picar-x.
But when you install and run vilib (sudo python3 install).py) The following error occurs.
I wonder why.

Start installing vilib 0.2.0 for user pi
Traceback (most recent call last):
File “/home/pi/vilib/install.py”, line 142, in
os_id = check_os_id()
File “/home/pi/vilib/install.py”, line 104, in check_os_id
result = platform.freedesktop_os_release()[“ID”]
AttributeError: module ‘platform’ has no attribute ‘freedesktop_os_release’

I asked a question yesterday, but there was no answer, so I’m posting the question again.
Please excuse me.

Our engineers have started testing it yesterday, we will get back to you later when we have a conclusion, sorry about that.

The code is fixed, please update the code with the following command:
cd ~/vilib
git pull
sudo python3 install.py
After successful installation, just reboot the Raspberry Pi.

1 Like