Scoop: Python installation fails with `can't shim python.exe: file doesn't exist` after `creating shim for python`

Created on 20 May 2016  路  8Comments  路  Source: lukesampson/scoop

In scoop/apps/python/3.5.1/ there's just uninstall.exe.

Full console output:

scoop install python
installing python (3.5.1)
loading https://www.python.org/ftp/python/3.5.1/python-3.5.1-amd64.exe#/py351.exe from cache...
checking hash...ok
running pre-install script...
running installer...done
creating shim for python
can't shim python.exe: file doesn't exist

Most helpful comment

This also seems like an error with the python-3.7 package. scoop bucket add versions; scoop install python36 worked as expected. Strange.

All 8 comments

I wonder if it's a permissions issue. Try to run scoop cache rm python and scoop install python as admin.

@monotykamary Nope, doesn't work.

I noticed that Python was listed installed in Control Panel. I restored it via the regular installer, then cleanly uninstalled it, and reinstalled with scoop. All went well. Sorry for the fuzz.

I had this same issue. Perhaps there's an issue in the scoop uninstall python that should be looked up?

This also seems like an error with the python-3.7 package. scoop bucket add versions; scoop install python36 worked as expected. Strange.

I have encountered the same issue. Warning like You may have to repair and uninstall broken python installer from control panel, 'scoop uninstall python' then try 'scoop install python' again will be helpful

Otherwise, when a scoop install failed, user should not be forced to run scoop uninstall manually as the failed scoop install process actually polluted the environment.

I noticed that Python was listed installed in Control Panel. I restored it via the regular installer, then cleanly uninstalled it, and reinstalled with scoop. All went well. Sorry for the fuzz.

3 years have passed and the issue still exists
thanks for your help 馃憤

I have encountered the same issue. Warning like You may have to repair and uninstall broken python installer from control panel, 'scoop uninstall python' then try 'scoop install python' again will be helpful

Otherwise, when a scoop install failed, user should not be forced to run scoop uninstall manually as the failed scoop install process actually polluted the environment.

does not work
This worked for me:

  1. restore/remove python via control pannel
  2. scoop:
scoop uninstall python
scoop cache rm python
scoop install python
Was this page helpful?
0 / 5 - 0 ratings

Related issues

vpratfr picture vpratfr  路  3Comments

eBaeza picture eBaeza  路  3Comments

muhlpachr picture muhlpachr  路  3Comments

yetangye picture yetangye  路  3Comments

thorstenkampe picture thorstenkampe  路  3Comments