Mailing List Archive

RE: Issues with pip in Python 3.8.3
Hello,

?

I have subscribed to the Python list.

The user name (which was optional) I entered as hsb3852, not my real name.

Does this matter?

?

My question is below…

?

Best regards,

Hylton

?

From: Hylton <brenners@bezeqint.net>
Sent: Monday, September 21, 2020 6:41 AM
To: python-list@python.org
Subject: Issues with pip in Python 3.8.3

?

Hello,

?

I’m quite new to Python (but not new to programming), and I’ve encountered problems with pip which I have been unable to solve.

?

When I tried to update pip using “python.exe -m pip install --upgrade pip” (I tried to install another package -unsuccessfully, which informed me there was a new version of pip), which failed with the following error:

?

ERROR: Exception:

Traceback (most recent call last):

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_internal\cli\base_command.py", line 216, in _main

? ? ? status = self.run(options, args)

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_internal\cli\req_command.py", line 182, in wrapper

? ? ? return func(self, options, args)

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_internal\commands\install.py", line 412, in run

? ? ? installed = install_given_reqs(

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_internal\req\__init__.py", line 82, in install_given_reqs

? ? ? requirement.install(

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_internal\req\req_install.py", line 813, in install

? ? ? install_wheel(

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_internal\operations\install\wheel.py", line 852, in install_wheel

? ? ? _install_wheel(

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_internal\operations\install\wheel.py", line 762, in _install_wheel

? ? ? generated_console_scripts = maker.make_multiple(scripts_to_generate)

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py", line 418, in make_multiple

? ? ?filenames.extend(self.make(specification, options))

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_internal\operations\install\wheel.py", line 498, in make

? ? ? return super(PipScriptMaker, self).make(specification, options)

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py", line 407, in make

? ? ? self._make_script(entry, filenames, options=options)

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py", line 307, in _make_script

? ? ? self._write_script(scriptnames, shebang, script, filenames, ext)

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py", line 242, in _write_script

? ? ? launcher = self._get_launcher('t')

? File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py", line 386, in _get_launcher

? ? ? raise ValueError(msg)

ValueError: Unable to find resource t64.exe in package pip._vendor.distlib

WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available.

You should consider upgrading via the 'C:\Program Files\Python38\python.exe -m pip install --upgrade pip' command.

?

C:\Program Files\Python38>

?

I checked that the file t64.exe does exist in the location (path) listed (C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts).

This path is included in the PATH environment variable.

?

Why is this upgrade failing? How do I fix it?

?

I get this same error when I try to install other packages too.

?

The package I tried to install was numPy.

?

I also need to install cv2 and OpenCV, but my searches for them in PyPA returned dozens, if not hundreds of results. Can you perhaps indicate which versions I need to install on my Windows 10 PC?

?

Please help as soon as possible by return email.

?

Many thanks!

Hylton

?

?

?

--
https://mail.python.org/mailman/listinfo/python-list