Hi all
I’m pulling my hair out a bit here, as I’m sure this is fairly straight forward but can’t for the life figure out what I’m doing incorrect or how it should be done.
Running a Pi 4 with the latest Pi OS 64 OS, fron latest version of Pi installer.
I’ve installed RaspAP, which is working perfectly.
A 240x240 has been installed on the GPIO, all relevant libs have been installed.
I then try and clone this github directory and create a folder called stats.py (maybe that’s the issue?)
https://github.com/Maik-Wi/raspap-display
The RaspAP tutorial says run this - sudo python3 stats.py
But that just gives me a ‘no such file or directory’
Source; https://github.com/RaspAP/raspap-webgui ... 5541634d01
As the first link is a fork, do I clone both githubs? I’d have thought not but I can’t seem to find what I’m looking for or I’m searching for none relevant stuff.
This is what I got when I cloned the github (first link)Hopefully I’m making sense here and somebody can show me the error of my ways and point me in the correct direction.
Thanks
I’m pulling my hair out a bit here, as I’m sure this is fairly straight forward but can’t for the life figure out what I’m doing incorrect or how it should be done.
Running a Pi 4 with the latest Pi OS 64 OS, fron latest version of Pi installer.
I’ve installed RaspAP, which is working perfectly.
A 240x240 has been installed on the GPIO, all relevant libs have been installed.
I then try and clone this github directory and create a folder called stats.py (maybe that’s the issue?)
https://github.com/Maik-Wi/raspap-display
The RaspAP tutorial says run this - sudo python3 stats.py
But that just gives me a ‘no such file or directory’
Source; https://github.com/RaspAP/raspap-webgui ... 5541634d01
As the first link is a fork, do I clone both githubs? I’d have thought not but I can’t seem to find what I’m looking for or I’m searching for none relevant stuff.
This is what I got when I cloned the github (first link)
Code:
mag@raspap:~ $ mkdir stats.pymag@raspap:~ $ cd stats.pymag@raspap:~/stats.py $ git clone https://github.com/Maik-Wi/raspap-display.gitCloning into 'raspap-display'...remote: Enumerating objects: 16, done.remote: Counting objects: 100% (16/16), done.remote: Compressing objects: 100% (15/15), done.remote: Total 16 (delta 3), reused 4 (delta 0), pack-reused 0 (from 0)Receiving objects: 100% (16/16), 6.16 KiB | 2.05 MiB/s, done.Resolving deltas: 100% (3/3), done.mag@raspap:~/stats.py $ lsraspap-displaymag@raspap:~/stats.py $ cd stats-bash: cd: stats: No such file or directorymag@raspap:~/stats.py $ cd stats.py-bash: cd: stats.py: No such file or directorymag@raspap:~/stats.py $ cdmag@raspap:~ $ sudo python3 stats.py/usr/bin/python3: can't find '__main__' module in '/home/mag/stats.py'mag@raspap:~ $ ^Cmag@raspap:~ $ sudo python3 stats.py/usr/bin/python3: can't find '__main__' module in '/home/mag/stats.py'mag@raspap:~ $ cd stats.pymag@raspap:~/stats.py $ lsraspap-displaymag@raspap:~/stats.py $ cd stats.py-bash: cd: stats.py: No such file or directorymag@raspap:~/stats.py $
Thanks
Statistics: Posted by yarkie — Thu Feb 27, 2025 6:53 am