I am trying to install Thonny 3.0.8 python ide onto puppy xenial. After extracting and running ./install puppy gives an error:-
root# ./install
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: initfsencoding: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0xb74e8700 (most recent call first):
./install: line 10: 8041 Aborted python3 "$THIS_DIR"/install.py "$@"
Any ideas appreciated- this could be a good addition to puppy as it comes bundled with the latest python.
Installing Thonny python ide
- nosystemdthanks
- Posts: 703
- Joined: Thu 03 May 2018, 16:13
- Contact:
Re: Installing Thonny python ide
try sharing the output of this command:
echo $PYTHONHOME
echo $PYTHONHOME
[color=green]The freedom to NOT run the software, to be free to avoid vendor lock-in through appropriate modularization/encapsulation and minimized dependencies; meaning any free software can be replaced with a user’s preferred alternatives.[/color]
- nosystemdthanks
- Posts: 703
- Joined: Thu 03 May 2018, 16:13
- Contact:
here are some thoughts:Johnnyboy wrote:Thanks for the quick reply- echo $PYTHONHOME appears to do nothing.
1. xenial only comes with python2 included. you might need to install python3 if you havent already.
2. the install script may need full bash utils, when you are using the busybox version.
3. python (other than python2) may not be installed or setup properly. you can try running python3 from the command line to find out (ctrl-d will exit.) other than that, im not sure why youre having this trouble.
[color=green]The freedom to NOT run the software, to be free to avoid vendor lock-in through appropriate modularization/encapsulation and minimized dependencies; meaning any free software can be replaced with a user’s preferred alternatives.[/color]
- nosystemdthanks
- Posts: 703
- Joined: Thu 03 May 2018, 16:13
- Contact:
congrats, glad to hear it.Johnnyboy wrote:I tried an earlier version (2.1.22) and this worked ok.
[color=green]The freedom to NOT run the software, to be free to avoid vendor lock-in through appropriate modularization/encapsulation and minimized dependencies; meaning any free software can be replaced with a user’s preferred alternatives.[/color]