Problems with pip
Rik Griffin (98) 264 posts |
I decided to try out the new RISCOS port of python3, so I ditched the old version 2 that I had and installed Python-38 (3.8.8-1) using PackMan. Generally it seems to work well but I wanted to install a new module, so tried using pip. I installed Python-38-pip from PackMan. But pip gives a load of errors when trying to install anything, including itself.
Any ideas what’s wrong please? |
David Pitt (9872) 363 posts |
ZLib1g, TaskRunner and LibSSL are also required from PackMan. |
Rik Griffin (98) 264 posts |
That seems to have fixed it, thanks! |
Rik Griffin (98) 264 posts |
So upgrading pip was actually a bad idea, I assume that the version from RiscPkg has been tweaked to support RISCOS filenames. When I tried to install another package after upgrading pip, I got a filename related error. Uninstalling pip and reinstalling didn’t fix this, so I uninstalled everything python related and started again. |
Rik Griffin (98) 264 posts |
The plot thickens…
Notice the line that raised the SyntaxError – “return” is misspelled. But looking at the source code from “setup.py” in the pyproj package – the last line of what I copied here is line 23…
Is something really odd going on here or is it just that the printed output from pip is corrupt? |
David Pitt (9872) 363 posts |
It is about to thicken some more… The ‘retun’ corruption is reproduced here.
The installation having apparently corrupted something also reintroduces this bug that was fixed in Wimp 5.85. (FWIW PyProj also fails to install on Raspberry Pi OS, something to do with wheels.) |