Closed Devenhulk123 closed 6 months ago
Hello! To get help with a problem on the internet, you need to say
Hello! To get help with a problem on the internet, you need to say
- what command you run
- what error message you see (preferably as text not screenshots)
Sorry Its my first time posting so I didn't really know what to put
The reason that you are getting that error is that you are most likely running an old version of python3. Use this command to find your version:
python3 --version
If your version is <3.6, upgrade it with:
sudo apt install python3.9
The reason that you are getting that error is that you are most likely running an old version of python3. Use this command to find your version:
python3 --version
If your version is <3.6, upgrade it with:
sudo apt install python3.9
I just tried and the same error popped up
That’s probably because the script uses python3
, and on your system that corresponds to Python 3.6, even if 3.9 is installed.
Can you update your operating system to a version that uses a current Python version?
That’s probably because the script uses
python3
, and on your system that corresponds to Python 3.6, even if 3.9 is installed. Can you update your operating system to a version that uses a current Python version?
I used sudo apt-get update followed by sudo apt-get upgrade and everything thing is updated already what do you mean by upgrade the operating system?
Answering that would take some time, and be out of scope for this place!
But can you show the output of these commands:
cat /etc/os-release
apt-cache show python3 | head -n3
Answering that would take some time, and be out of scope for this place!
But can you show the output of these commands:
cat /etc/os-release apt-cache show python3 | head -n3
Sorry for the late reply I went on a trip with my parents and we didn't have any signal if your still willing to help these are the stuff that popped up
Answering that would take some time, and be out of scope for this place! But can you show the output of these commands:
cat /etc/os-release apt-cache show python3 | head -n3
Sorry for the late reply I went on a trip with my parents and we didn't have any signal if your still willing to help these are the stuff that popped up
![Uploading 20230724_091729.jpg…]()
Your link goes to this same page. Can you copy-paste the output from the two commands?
Your link goes to this same page. Can you copy-paste the output from the two commands?
pi@retropie:~$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)'
NAME="Raspbian GNU/Linux"
VERSION ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID LIKE-debian
HOME URL="http://www.raspbian.org/"
SUPPORT URL="http://www.raspbian.org/RaspbianForums" BUG REPORT URL="http://www.raspbian.org/RaspbianBugs"
pi@retropie:~$ apt-cache show python3 | head -n3
Package: python3
Source: python3-defaults
Version: 3.5.3-1
pi@retropie:~ $
Your link goes to this same page. Can you copy-paste the output from the two commands?
Sorry that was my bad
We learn two things:
python3
command is 3.5, which is too old to support this scriptRaspberry Pi foundation does not recommend updating the system in place, but making a fresh install on a new SD card.
We learn two things:
- you are running raspberry pi OS 9, but the current version is 10
- the python version used by the
python3
command is 3.5, which is too old to support this scriptRaspberry Pi foundation does not recommend updating the system in place, but making a fresh install on a new SD card.
Is there any way I could try updating it without starting new SD card before I wipe it clean
Yes, you can. But in my experience, you tend to get better performance from a fresh install. If you are determined to just upgrade in place, here's a guide
Yes, you can. But in my experience, you tend to get better performance from a fresh install. If you are determined to just upgrade in place, here's a guide
Okay thank you I'll try it out
I wanted to use my raspberry gpio pins and I installed it using these scripts cd ~ git clone https://github.com/mholgatem/GPIOnext.git bash GPIOnext/install.sh After that that it gave me a invalid syntax I dont know what to do or what I put to set a input really. This is the invalid syntax it gives me
Thanks Deven