Solved --- Install Python VisionFive_GPIO fails

although following latest docs i still get error when installing VisionFive.gpio package

sudo apt install libxml2-dev libxslt-dev
python3 -m pip install requests wget bs4
python3 Install VisionFive_gpio.py

python3: can’t open file ‘home/user/Install VisionFive_gpio.py’ [Errno 2] No such file or directory

what do I do wrong ?

Hope this post can help you:
http://bbs.eeworld.com.cn/thread-1251651-1-1.html

1 Like

thanks — could do install.

some comments:

Solved

1 Like

then after that how we can write the code?

There are examples on the starfive doc pages. To being honest, I didn’t try these yet, as i am lacking time at moment.

Check that you are in the correct directory or provide the full path to the file.
Try it.

cd /path/to/directory/containing/Install VisionFive_gpio.py
python3 Install VisionFive_gpio.py

examples can be found here: Application Center | RVspace