On 5/12/2023 1:45 PM, Barry wrote:
On 12 May 2023, at 18:31, Thomas Passin <li...@tompassin.net> wrote:
On 5/12/2023 11:18 AM, Thomas Passin wrote:
On 5/12/2023 2:42 AM, David John wrote:
Hi,
I recently have been experiencing issues with the pip installation module.
I have python version 3.11 installed. I've checked the directory installed
in the systems variables window and nothing is amiss. Kindly assist.
It would be useful if you told us what operating system you are using and how
you installed Python.
Many if not most Linux distributions do not include pip by default. Usually the
package manager as a version to install. On systems based on Debian, you can
install pip with:
sudo apt install python3-pip
On others, you will have to look around in the package manager or search on
line.
As a last resort, if you cannot find an OS package manager way to install pip,
you find out how from here:
https://pip.pypa.io/en/stable/installation/
As the link says, you can run from a command line:
<python> -m ensurepip --upgrade
NOTE: instead of <python>, use the command that launches the right version of
python on your system On Windows, this is usually py. On Linux, it is usually
python3.
On Linux, if you want tkinter, you may have to install it with the package
manager too. On Debian-related systems:
sudo apt-get install python3-tk
For the Yum package manager:
yum install tkinter
You may also need to install ImageTk:
sudo apt-get install python3-pil.imagetk (Debian-based)
On Centos/Red Hat derived systems, you will also need to install
python3-pillow
python3-pillow-tk
PIP not PIL is the topic right?
We still need OP to tell us which OS and where python came from.
Barry
Sure, Pip is the topic. But on Linux, once you have it installed, Tk may
not be far behind, so I thought I'd mention the info since I've been
bitten by it myself, and it's not obvious what to do.
By throwing out a number of common possibilities I was hoping to cover
the OP's situation - and help others who didn't write in - I've been
there. And yes, of course it would be better to have the OP's detailed
information.
Let's hope that if the OP does succeed we will get to know of it.
--
https://mail.python.org/mailman/listinfo/python-list