Giter VIP home page Giter VIP logo

Comments (16)

merwok avatar merwok commented on July 4, 2024

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)

from gpionext.

Devenhulk123 avatar Devenhulk123 commented on July 4, 2024

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

from gpionext.

mholgatem avatar mholgatem commented on July 4, 2024

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

from gpionext.

Devenhulk123 avatar Devenhulk123 commented on July 4, 2024

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

from gpionext.

merwok avatar merwok commented on July 4, 2024

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?

from gpionext.

Devenhulk123 avatar Devenhulk123 commented on July 4, 2024

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?

from gpionext.

merwok avatar merwok commented on July 4, 2024

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

from gpionext.

Devenhulk123 avatar Devenhulk123 commented on July 4, 2024

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

from gpionext.

Devenhulk123 avatar Devenhulk123 commented on July 4, 2024

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…

from gpionext.

merwok avatar merwok commented on July 4, 2024

Your link goes to this same page.
Can you copy-paste the output from the two commands?

from gpionext.

Devenhulk123 avatar Devenhulk123 commented on July 4, 2024

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:~ $

from gpionext.

Devenhulk123 avatar Devenhulk123 commented on July 4, 2024

Your link goes to this same page. Can you copy-paste the output from the two commands?

Sorry that was my bad

from gpionext.

merwok avatar merwok commented on July 4, 2024

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 script

Raspberry Pi foundation does not recommend updating the system in place, but making a fresh install on a new SD card.

from gpionext.

Devenhulk123 avatar Devenhulk123 commented on July 4, 2024

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 script

Raspberry 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

from gpionext.

mholgatem avatar mholgatem commented on July 4, 2024

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

from gpionext.

Devenhulk123 avatar Devenhulk123 commented on July 4, 2024

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

from gpionext.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.