An error
When installing APpium with NPM under Win10, the following error is reported:
Can't find Python executable "D:\Anaconda3\python.exe", you can set the PYTHON env variable.
solution
1. Set the Python execution file path. 2, to use python version 2.7.
Methods a
Set the global variable in Windows PYTHON
to be the absolute path of PYTHON 2.7, for example:
D:\Anaconda2\python.exe
Set variables:
set PYTHONPATH=%PYTHON%
Method 2
npm config
div>
Read More:
- Solve the problem of unable to locate package python3.6 when upgrading from python3.5 to python3.6 in ubantu16.04
- Cannot set up a python SDK Python 2.7. The SDK sees invalid
- Python UnboundLocalError: local variable ‘num’ referenced before assignment
- Solving Python error: local variable ‘a’ referenced before assignment
- yarn install gyp verb `which` failed python2 Error: not found: python2
- Pychar reported an error. Unable to set the python SDK in Python 3.8. This SDK appears to be invalid.
- Anaconda returns Python 3.7 to Python 3.6
- Python error: local variable ‘XXXX’ referenced before assignment
- Python uses cxfree to package script files into executable programs
- The python version output from the command line is inconsistent with the python version in the current CONDA environment
- Python – writing visual interface (Python + pycharm + pyqt)
- Learning notes of Python 3: debugger speedups using Python not found
- KeyError: ‘/home/xxx/anaconda3/lib/python3.8/site-packages/parso/python/grammar38.txt‘
- Python – [encoding] in Python os.system Solution to Chinese garbled code when calling CMD command
- Error loading Python DLL ‘python36.dll’. LoadLibrary: The specified module could not be found.
- Making Python script into exe command under Windows
- Package python3.1 + PyQt4 into exe
- Python module learning-Paramiko-Use python to throw an exception: Authentication failed.
- Python Basics – python3 installing pyhook and pywin32 Libraries
- Error running docker container: starting container process caused “exec: \“python\“: executable file