[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.
Package Name
python
Expected/Current Behaviour
Expected to be installed without errors. When installing I got the following output:
pwsh ο scoop install python
Installing 'python' (3.12.4) [64bit] from 'main' bucket
Loading python-3.12.4-amd64.exe from cache
Checking hash of python-3.12.4-amd64.exe ... ok.
Running pre_install script...
Running installer script...
Linking ~\scoop\apps\python\current => ~\scoop\apps\python\3.12.4
Creating shim for 'python3'.
Creating shim for 'idle'.
Creating shim for 'idle3'.
Adding ~\scoop\apps\python\current\Scripts to your path.
Adding ~\scoop\apps\python\current to your path.
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] The system cannot find the path specified: 'C:\\Users\\haim\\scoop\\apps\\python\\current\\Scripts\\pip.exe' -> 'C:\\Users\\haim\\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\haim\scoop\apps\python\current\Lib\ensurepip\__main__.py", line 5, in <module>
sys.exit(ensurepip._main())
^^^^^^^^^^^^^^^^^
File "C:\Users\haim\scoop\apps\python\current\Lib\ensurepip\__init__.py", line 284, in _main
return _bootstrap(
^^^^^^^^^^^
File "C:\Users\haim\scoop\apps\python\current\Lib\ensurepip\__init__.py", line 200, in _bootstrap
return _run_pip([*args, *_PACKAGE_NAMES], additional_paths)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\haim\scoop\apps\python\current\Lib\ensurepip\__init__.py", line 101, in _run_pip
return subprocess.run(cmd, check=True).returncode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\haim\scoop\apps\python\current\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\haim\\scoop\\apps\\python\\current\\python.exe', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = [\'C:\\\\Users\\\\haim\\\\AppData\\\\Local\\\\Temp\\\\tmpiet6ipmb\\\\pip-24.0-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'C:\\\\Users\\\\haim\\\\AppData\\\\Local\\\\Temp\\\\tmpiet6ipmb\', \'--upgrade\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.
'python' (3.12.4) was installed successfully!
Notes
-----
Allow applications and third-party installers to find python by running:
"C:\Users\haim\scoop\apps\python\current\install-pep-514.reg"
While I do have python executable in path I'm not sure what's not working π (I'm not really a python developer - just used it once for something simple).
Steps to Reproduce
PS> scoop install python
Possible Solution
no idea π
Scoop and Buckets Version
pwsh ο scoop --version
Current Scoop version:
d337bb1f (HEAD -> master, tag: v0.4.2, origin/master, origin/HEAD) chore(release): Bump to version 0.4.2 (#5964)
'main' bucket:
9e3297c22 (HEAD -> master, origin/master, origin/HEAD) pulumi: Update to version 3.121.0
'extras' bucket:
7562736b7 (HEAD -> master, origin/master, origin/HEAD) netron: Update to version 7.7.4
'sysinternals' bucket:
56aa57d (HEAD -> main, origin/main, origin/HEAD) sysinternals-suite: Update to version 2024.06.20
'java' bucket:
2382f57e (HEAD -> master, origin/master, origin/HEAD) intellij-jbr17: Update to version 17.0.11-b1312.2
'kdash-bucket' bucket:
b5202b6 (HEAD -> main, origin/main, origin/HEAD) Update package for KDash release v0.6.0
Prerequisites
Package Name
python
Expected/Current Behaviour
Expected to be installed without errors. When installing I got the following output:
While I do have python executable in path I'm not sure what's not working π (I'm not really a python developer - just used it once for something simple).
Steps to Reproduce
Possible Solution
no idea π
Scoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
No response