Windows can’t find Python executable error [QUICK FIX]

by Milan Stanojevic
Milan Stanojevic
Milan Stanojevic
Windows & Software Expert
Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He's a PC enthusiast and he... read more
Affiliate Disclosure
Windows can't find Python executable
XINSTALL BY CLICKING THE DOWNLOAD FILE
To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

If you’re installing a package for Node on Windows 10, then you might receive the following error: Windows can’t find Python executable. This error is caused by the Node software not being able to find the path to your Python executable.

This issue can become very annoying since it stops you from accessing your Python and Node files freely. Since this can be a big problem for many users, today we’ll show you the best way to deal with it. Read on to find out more.

How to fix Windows can’t find Python executable error? This issue usually occurs if you don’t have Windows Build Tools installed. To fix the problem, you need to open the PowerShell and run npm install  –global –production windows-build-tools command. In addition, you might be required to run npm install node-gyp command as well.

What to do if Windows cannot find Python?

Install the Windows Build Tools

This issue usually occurs if you don’t have Windows Build Tools installed, but you can fix that by doing the following:

  1. Press Windows + X key > choose Windows PowerShell (Admin).powershell windows can't find python executable
  2. Type in the following command: npm install  –global –production windows-build-tools , and press Enter. The installation process will start.install build tools windows can't find python executable
  3. After the first installation is completed, also install node-gyp by typing in the following command: npm install node-gyp
  4. Press Enter.

Restart the terminal window and try to install the package with problems again.

In this article, we explored the best and fastest way to deal with the Windows can’t find Python executable error while trying to install Node.

Follow these steps carefully and this problem will be resolved. Please feel free to let us know if this fix worked for you by using the comment section below.

READ ALSO:

Still having issues? Fix them with this tool:

SPONSORED

If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

This article covers:Topics: