Regarding- Issue on package install

Rakesh Vettrivel v.rakesh4uin at gmail.com
Wed May 31 01:03:50 EDT 2023


I have an issue on updating both pip and setup tools, setuptools latest
version is getting installed successfully but after giving ok still its
shows to update.
pip is not getting installed and it shows some error.
Help me please with these issue.

pip error:

Collecting pip==23.1.2
  Using cached pip-23.1.2-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 23.0
    Uninstalling pip-23.0:
      Successfully uninstalled pip-23.0
  Rolling back uninstall of pip
  Moving to c:\users\rajesh.k\appdata\roaming\python\python38\scripts\
   from C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\~cripts
  Moving to
c:\users\rajesh.k\appdata\roaming\python\python38\site-packages\pip-23.0.dist-info\
   from
C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\~ip-23.0.dist-info
  Moving to
c:\users\rajesh.k\appdata\roaming\python\python38\site-packages\pip\
   from C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\~ip

ERROR: Exception:
Traceback (most recent call last):
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_internal\cli\base_command.py",
line 160, in exc_logging_wrapper
    status = run_func(*args)
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_internal\cli\req_command.py",
line 247, in wrapper
    return func(self, options, args)
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_internal\commands\install.py",
line 503, in run
    installed = install_given_reqs(
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_internal\req\__init__.py",
line 73, in install_given_reqs
    requirement.install(
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_internal\req\req_install.py",
line 796, in install
    install_wheel(
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_internal\operations\install\wheel.py",
line 729, in install_wheel
    _install_wheel(
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_internal\operations\install\wheel.py",
line 646, in _install_wheel
    generated_console_scripts = maker.make_multiple(scripts_to_generate)
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py",
line 436, in make_multiple
    filenames.extend(self.make(specification, options))
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_internal\operations\install\wheel.py",
line 427, in make
    return super().make(specification, options)
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py",
line 425, in make
    self._make_script(entry, filenames, options=options)
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py",
line 325, in _make_script
    self._write_script(scriptnames, shebang, script, filenames, ext)
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py",
line 249, in _write_script
    launcher = self._get_launcher('t')
  File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py",
line 404, in _get_launcher
    raise ValueError(msg)
ValueError: Unable to find resource t32.exe in package pip._vendor.distlib

[notice] A new release of pip is available: 23.0 -> 23.1.2
[notice] To update, run: python.exe -m pip install --upgrade pip

i tried this too but it didn't work.


More information about the Python-list mailing list