PS > scoop update python
python: 3.12.0 -> 3.12.1
WARN Scoop uses 'aria2c' for multi-connection downloads.
WARN Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN To disable this warning, run 'scoop config aria2-warning-enabled false'.
Updating one outdated app:
Updating 'python' (3.12.0 -> 3.12.1)
Downloading new version
Starting download with aria2 ...
Download: Download Results:
Download: gid |stat|avg speed |path/URI
Download: ======+====+===========+=======================================================
Download: 7205f8|OK | 7.0MiB/s|C:/Users/user/scoop/cache/python#3.12.1#https_www.python.org_ftp_python_3.12.1_python-3.12.1-amd64.exe_setup.exe
Download: Status Legend:
Download: (OK):download completed.
Checking hash of python-3.12.1-amd64.exe ... ok.
Uninstalling 'python' (3.12.0)
Running uninstaller script...
Removing shim 'python3.shim'.
Removing shim 'python3.exe'.
Removing shim 'idle'.
Removing shim 'idle.cmd'.
Removing shim 'idle3'.
Removing shim 'idle3.cmd'.
Unlinking ~\scoop\apps\python\current
Installing 'python' (3.12.1) [64bit] from main bucket
Loading python-3.12.1-amd64.exe from cache.
Running pre_install script...
Running installer script...
Linking ~\scoop\apps\python\current => ~\scoop\apps\python\3.12.1
Creating shim for 'python3'.
Creating shim for 'idle'.
Creating shim for 'idle3'.
Persisting Scripts
Persisting Lib\site-packages
Running post_install script...
WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an OSError: [WinError 3] 指定されたパスが見つかりません。: 'C:\\Users\\user\\scoop\\apps\\python\\current\\Scripts\\pip.exe' -> 'C:\\Users\\user\\scoop\\apps\\python\\current\\Scripts\\pip.exe.deleteme'
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\user\scoop\apps\python\current\Lib\ensurepip\__main__.py", line 5, in <module>
sys.exit(ensurepip._main())
^^^^^^^^^^^^^^^^^
File "C:\Users\user\scoop\apps\python\current\Lib\ensurepip\__init__.py", line 284, in _main
return _bootstrap(
^^^^^^^^^^^
File "C:\Users\user\scoop\apps\python\current\Lib\ensurepip\__init__.py", line 200, in _bootstrap
return _run_pip([*args, *_PACKAGE_NAMES], additional_paths)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\scoop\apps\python\current\Lib\ensurepip\__init__.py", line 101, in _run_pip
return subprocess.run(cmd, check=True).returncode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\scoop\apps\python\current\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\user\\scoop\\apps\\python\\current\\python.exe', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = [\'C:\\\\Users\\\\Y3144~1.WAT\\\\AppData\\\\Local\\\\Temp\\\\tmp_74lff8c\\\\pip-23.2.1-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'C:\\\\Users\\\\Y3144~1.WAT\\\\AppData\\\\Local\\\\Temp\\\\tmp_74lff8c\', \'--upgrade\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.
'python' (3.12.1) was installed successfully!
Notes
-----
Allow applications and third-party installers to find python by running:
"C:\Users\user\scoop\apps\python\current\install-pep-514.reg"