You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO Found qmk_firmware at C:/Users/Martin/qmk_firmware.
INFO QMK Doctor is checking your environment.
INFO Detected Windows.
ERROR Can't find arm-none-eabi-gcc in your path.
ERROR Can't find avr-gcc in your path.
ERROR Can't find avrdude in your path.
<class 'FileNotFoundError'>
ERROR [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
File "C:/msys64/mingw64/lib/python3.8/site-packages/milc.py", line 592, in call
return self.call()
File "C:/msys64/mingw64/lib/python3.8/site-packages/milc.py", line 597, in call
return self._entrypoint(self)
File "C:/Users/Martin/qmk_firmware/lib/python/qmk/cli/doctor.py", line 230, in doctor
bin_ok = check_binaries()
File "C:/Users/Martin/qmk_firmware/lib/python/qmk/cli/doctor.py", line 72, in check_binaries
if not is_executable(binary):
File "C:/Users/Martin/qmk_firmware/lib/python/qmk/cli/doctor.py", line 159, in is_executable
check = subprocess.run([command, version_arg], stdout=subprocess.PIPE, stderr=subprocess.PIPE, timeout=5, universal_newlines=True)
File "C:/msys64/mingw64/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "C:/msys64/mingw64/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:/msys64/mingw64/lib/python3.8/subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
ERROR Your build environment is not setup completely.
*** Would you like to run util/qmk_install? [y/n] y
<class 'OSError'>
ERROR [WinError 193] %1 is not a valid Win32 application
Traceback (most recent call last):
File "C:/msys64/mingw64/lib/python3.8/site-packages/milc.py", line 592, in call
return self.call()
File "C:/msys64/mingw64/lib/python3.8/site-packages/milc.py", line 597, in call
return self._entrypoint(self)
File "C:/msys64/mingw64/lib/python3.8/site-packages/qmk_cli/subcommands/setup.py", line 45, in setup
process = subprocess.run(['util/qmk_install.sh'])
File "C:/msys64/mingw64/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "C:/msys64/mingw64/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:/msys64/mingw64/lib/python3.8/subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 193] %1 is not a valid Win32 application
Solution provided in comments of #8601 was to run $ python -m pip install -U qmk
Near identical issue to #8601 with added complication.
Following the setup instructions on https://docs.qmk.fm/#/newbs_getting_started?id=_1-download-software
The command
qmk setup
fails with:Solution provided in comments of #8601 was to run
$ python -m pip install -U qmk
which resulted in:
then
$ cd $USERPROFILE/qmk_firmware
then
$ git pull
resulting in:
However, rerunning
qmk setup
still throws the same result.System Information
Additional Context
The text was updated successfully, but these errors were encountered: