I successfully installed Python 3.8 on Windows 10 using Chocolatey through Windows PowerShell, which created a new directory at C:\Python38.

However, I later decided to install an older version of Python, so I uninstalled the current version using the following command:

choco uninstall python

After deleting the Python38 folder, I attempted to install Python 3.7 by executing the following command:

choco install python

Which gives me the following:

Chocolatey v0.10.15
Installing the following packages:
By installing you accept licenses for the packages.
Progress: Downloading python 3.7.3... 100%

python3 v3.7.3 [Approved]
python3 package files install completed. Performing other installation steps.
Installing 64-bit python3...
python3 has been installed.
Installed to: 'C:\Python37'
 The install of python3 was successful.
  Software installed as 'exe', install location is likely default.

python v3.7.3 [Approved]
python package files install completed. Performing other installation steps.
 The install of python was successful.
  Software install location not explicitly set, could be in package or
  default install location if installer.

Chocolatey installed 2/2 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

However, upon inspecting my system, I could not find any evidence of C:\Python37 directory or any newly added Python files on my system despite the installation process. I searched my system thoroughly but found nothing.

To confirm the issue, I attempted to reinstall Python 3.8 using Chocolatey, and although the installation process appeared to be successful and showed that it was installed to ‘C:\Python38‘, I was unable to locate it on my hard drive.

Askify Moderator Edited question May 1, 2023