Note - solution has been found - leaving here for reference
Info:
What specific Puppy version? Bionicpup32 8.0
Computer make and model or specs? Inspiron 5000
CPU? Pentium 3 - 600,
Memory? system info reports 505024 kB
Graphics hardware? AMD
Network hardware? WLAN
How is Puppy installed? Full on sda2 a 26 G partition on a 40 G IDE drive sda2 created with ext4
I wanted to install Thonny, the Python IDE.
It is found in package manager, but after running the install script a while, I get an error:
Code: Select all
Unfortunately these packages are not available:
<snip>
The suggestion is to update the database from package manager configure.
The update script prompted me individually to download many database update files, then prompted to restart PPM
After re-starting, I have PPM again install "thonny_2.1.16.3 " from ubuntu-bionic-universe repository.
The installation process, and it completed without errors.
I see thonny is now on the Utility menu. However it does not start.
I also find it on the pRun dialog, but again, it does not start.
I tried to run it in a terminal with the pRun option, and see this:
Code: Select all
/tmp/Terminal: /user/bin/thonny: usr/bin/python3: bad interpreter: No such file or directory.
From terminal, "python3" fails with "bash: python3: command not found"
I go back to PPM to install python3. There are hundreds of options, but I see that python3.6.9-1 (which is what thonny referenced above) is listed as ALREADY INSTALLED.
I found this article: viewtopic.php?t=3070
I created a symlink in /usr/bin to python3.6 named python3.
Now python3 runs from the shell.
Now when I run thonny from pRun with terminal option, I get:
"Traceback - File "/usr/bin/thonny <snip> ModuleNotFoundError: No module named 'pkg_resources'
I searched for that error, and find a lot of suggestions like "sudo apt-get install --reinstall python-pkg-resources"
That doesn't work with Puppy, though,
Back to PPM and found python-pkg-resources_39.0.1.
It was not already installed. After it successfully installed, I still get the same error when I try to run thonny.
Correction - I installed python-pkg-resources_39.0.1, when I should have installed python3-pkg-resources_39.0.1.
After installing that, thonny runs.