Windows can’t find Python executable error [QUICK FIX]
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:
- Press Windows + X key > choose Windows PowerShell (Admin).
- Type in the following command: npm install –global –production windows-build-tools , and press Enter. The installation process will start.
- After the first installation is completed, also install node-gyp by typing in the following command: npm install node-gyp
- 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.
- Code Writer App: Must-Have Tool for Programmers in Windows 10/8.1
- How to open PY files on PC
- What Software to Use For Linear Programming on Windows 10
Many users reported Your computer may be sending automated queries while using Google. This issue can be annoying since it will force you to fill […]
Microsoft’s Mixer will go through some major changes in the near future. The main focus is on reducing harmful content, help streamers evolve, and build […]
LinkedIn is an amazing professional network service with millions of users all around the world, and it has been without competitors on Windows 10 for […]