Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4909

Python • Re: Fatal Python error: init_fs_encoding

$
0
0
Hi,
I agree with the new installation, I already started this. Tried to do that on a PI4, but do not have an hdmi output (will get a new micro hdmi cable to see if it was the hdmi to microhdmi piece) , so restarted with a new sd card on Pi3....which seems to work.
The raspberry pi imager v1.85 showed Raspberry pi os (legacy,32 bit), but no bookworm and it installed python 3.9.2....need to do some more investigation, it is best to start with the latest tools.

If it is not allowed to uninstall old python versions that were in the original install it should be in the python documentation ....isn't it ?
Thanks for your help
best regards
Ludo
No. The default python interpreter is the system's/OS interpreter. The OS depends on it for a variety of things

So if you change it, the system can and does break as you've found out.

Leave the default python and the systems default interpreter settings alone.

You can install as many other versions of python side by side as tou need, including the same version as the one that comes with the system.

You can mess with those additional interpreters as much as you want and if you break them it is fine, the system continues to work because you did not break the one the system depends on.

Statistics: Posted by memjr — Sun Mar 03, 2024 5:37 am



Viewing all articles
Browse latest Browse all 4909

Trending Articles