Wudz
Posts: 4
Joined: Sun Mar 31, 2013 5:08 pm

Trouble with Python install I suppose...

Thu Mar 26, 2020 1:29 pm

Hi,

I tried to update Python from 3.4 to 3.7 (was on Jessie). I struggled a lot, installed and uninstalled several version and finally migrated to Stretch, hoping it would fix things.

I'm still blocked using this command:

Python3 plugin.py API pycoap

Returning:

-bash: /usr/local/bin/python3.7: no such file or directory

I agree because normally, the python version is the default one in 3.5...
Why does it still mention 3.7? It was installed indeed, but what is still the reference? Bashrc and profile files are empty (defaulted when moved to Stretch)

Thanks for your help!

Regards

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Trouble with Python install I suppose...

Thu Mar 26, 2020 1:34 pm

Wudz wrote:
Thu Mar 26, 2020 1:29 pm
Hi,

I tried to update Python from 3.4 to 3.7 (was on Jessie). I struggled a lot, installed and uninstalled several version and finally migrated to Stretch, hoping it would fix things.

I'm still blocked using this command:

Python3 plugin.py API pycoap

Returning:

-bash: /usr/local/bin/python3.7: no such file or directory

I agree because normally, the python version is the default one in 3.5...
Why does it still mention 3.7? It was installed indeed, but what is still the reference? Bashrc and profile files are empty (defaulted when moved to Stretch)

Thanks for your help!

Regards



Have you considered simply installing the current supported Raspbian Buster Operating system, released 9 months ago.

Maybe that would resolve all the inconsistencies that have arisen?

Wudz
Posts: 4
Joined: Sun Mar 31, 2013 5:08 pm

Re: Trouble with Python install I suppose...

Thu Mar 26, 2020 2:13 pm

Hi,

I was not aware I was so late! ^^
I'll give it a try, but I'm with a Rpi1, I fear some slowness if I upgrade further :/

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Trouble with Python install I suppose...

Thu Mar 26, 2020 2:46 pm

Wudz wrote:
Thu Mar 26, 2020 2:13 pm
Hi,

I was not aware I was so late! ^^
I'll give it a try, but I'm with a Rpi1, I fear some slowness if I upgrade further :/
Buster is no different to Wheezy, Jessie or Stretch on a RPi1B.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Trouble with Python install I suppose...

Thu Mar 26, 2020 4:59 pm

Wudz wrote:
Thu Mar 26, 2020 2:13 pm
Hi,

I was not aware I was so late! ^^
I'll give it a try, but I'm with a Rpi1, I fear some slowness if I upgrade further :/

Note that I suggested, by implication, installing a fresh unmodified version of the current Operating System.

Raspberry Pi have never recommended or supported incremental upgrades from one major release of Raspbian to its successor.

Return to “Troubleshooting”