NPM install Error: stack Error: Can’t find Python “Python” executable
Because of the need for node-gyp installation, it can only support python2, the official recommendation is python2.7, the download link
after the installation is complete, set the environment variable PYTHONPATH (value is the installation directory, such as C:\Python27) and PYTHON (value is %PYTHONPATH%\python.exe)
and then set it in the terminal: NPM config set python “C:\Python27\python.exe”
problem solved
Read More:
- [Solved] NPM install Error: check python checking for Python executable python2 in the PATH
- NPM install Error: gyp ERR! stack Error: Could not find any Python installation to use
- Invalid python sd, Fatal Python error: init_fs_encoding: failed to get the Python cod [How to Solve]
- Python Error: pip install mysql-connector-python failed
- How to Solve Python WARNING: Ignoring invalid distribution -ip (e:\python\python_dowmload\lib\site-packages)
- Opencv-python Install is Stuck Error: running setup.py bdist_wheel for opencv-python
- [Solved] opencv-python: recipe for target ‘modules/python3/CMakeFiles/opencv_python3.dir/all‘ failed
- Python 2.7: How to Install PIP
- [Solved] torchvision Error: UserWarning: Failed to load image Python extension: Could not find module
- Python RarFile unpack RAR package Error Rarfile.RarCannotExec: Cannot find Working Tool
- CMake Error at Could NOT find Python3 [Solved]
- [Solved] Windows Python Upzip rar File Error: Cannot find working tool
- Python: How to Solve mysqlclient Install Error in Mac
- Python Use PIP to install pyinstaller Error [Solved]
- Importerror: DLL load failed: unable to find the specified module in Python
- Pip3 install Mysqlclient Error: Command “python setup.py egg_info“ failed with error
- Linux installs Python and upgrades Python
- MAC OS install python3 Error: Permission denied @ dir_s_mkdir-/usr/local/Frameworks
- [Solved] Python Selenium Error: AttributeError: ‘WebDriver‘ object has no attribute ‘find_element_by_xpath‘
- How to Solve Python3.9 Install pycrypto Error