[Bug] No module named 'qmk.cli.ci.validate_aliases' after fresh install
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 187
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
Describe the Bug
Bug:
After running python3 -m pip install qmk and having the command resolve without errors. Afterwards running qmk setup results in an error message. Same goes for any other qmk command it seems. Any suggestion what might have caused this issue? Please find more additional information below.
System info:
OS: Nobara Linux 39 (KDE Plasma) x86_64
Host: X570 I AORUS PRO WIFI -CF
Kernel: 6.7.6-201.fsync.fc39.x86_64
Shell: bash 5.2.26
DE: Plasma 6.0.2
CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz
GPU: NVIDIA GeForce RTX 3070 Lite Hash Rate
Memory: 7778MiB / 32033MiB
Python3: Python 3.12.2
Error codes:
Warning: Could not import qmk.cli.ci.validate_aliases: ModuleNotFoundError, No module named 'qmk.cli.ci.validate_aliases'
Warning: Could not import qmk.cli.chibios.confmigrate: ModuleNotFoundError, No module named 'qmk.cli.chibios.confmigrate'
Warning: Could not import qmk.cli.compile: ModuleNotFoundError, No module named 'qmk.cli.generate.compilation_database'
Warning: Could not import qmk.cli.format.c: ModuleNotFoundError, No module named 'qmk.cli.format.c'
Warning: Could not import qmk.cli.format.json: ModuleNotFoundError, No module named 'qmk.cli.format.json'
Warning: Could not import qmk.cli.format.python: ModuleNotFoundError, No module named 'qmk.cli.format.python'
Warning: Could not import qmk.cli.format.text: ModuleNotFoundError, No module named 'qmk.cli.format.text'
Warning: Could not import qmk.cli.generate.api: ModuleNotFoundError, No module named 'qmk.cli.generate.api'
Warning: Could not import qmk.cli.generate.autocorrect_data: ModuleNotFoundError, No module named 'qmk.cli.generate.autocorrect_data'
Warning: Could not import qmk.cli.generate.compilation_database: ModuleNotFoundError, No module named 'qmk.cli.generate.compilation_database'
Warning: Could not import qmk.cli.generate.config_h: ModuleNotFoundError, No module named 'qmk.cli.generate.config_h'
Warning: Could not import qmk.cli.generate.develop_pr_list: ModuleNotFoundError, No module named 'qmk.cli.generate.develop_pr_list'
Warning: Could not import qmk.cli.generate.dfu_header: ModuleNotFoundError, No module named 'qmk.cli.generate.dfu_header'
Warning: Could not import qmk.cli.generate.docs: ModuleNotFoundError, No module named 'qmk.cli.generate.docs'
Warning: Could not import qmk.cli.generate.info_json: ModuleNotFoundError, No module named 'qmk.cli.generate.info_json'
Warning: Could not import qmk.cli.generate.keyboard_c: ModuleNotFoundError, No module named 'qmk.cli.generate.keyboard_c'
Warning: Could not import qmk.cli.generate.keyboard_h: ModuleNotFoundError, No module named 'qmk.cli.generate.keyboard_h'
Warning: Could not import qmk.cli.generate.keycodes: ModuleNotFoundError, No module named 'qmk.cli.generate.keycodes'
Warning: Could not import qmk.cli.generate.keycodes_tests: ModuleNotFoundError, No module named 'qmk.cli.generate.keycodes_tests'
Warning: Could not import qmk.cli.generate.make_dependencies: ModuleNotFoundError, No module named 'qmk.cli.generate.make_dependencies'
Warning: Could not import qmk.cli.generate.rgb_breathe_table: ModuleNotFoundError, No module named 'qmk.cli.generate.rgb_breathe_table'
Warning: Could not import qmk.cli.generate.rules_mk: ModuleNotFoundError, No module named 'qmk.cli.generate.rules_mk'
Warning: Could not import qmk.cli.generate.version_h: ModuleNotFoundError, No module named 'qmk.cli.generate.version_h'
Warning: Could not import qmk.cli.git.submodule: ModuleNotFoundError, No module named 'qmk.cli.git.submodule'
Warning: Could not import qmk.cli.import.kbfirmware: ModuleNotFoundError, No module named 'qmk.cli.import.kbfirmware'
Warning: Could not import qmk.cli.import.keyboard: ModuleNotFoundError, No module named 'qmk.cli.import.keyboard'
Warning: Could not import qmk.cli.import.keymap: ModuleNotFoundError, No module named 'qmk.cli.import.keymap'
Warning: Could not import qmk.cli.list.keyboards: ModuleNotFoundError, No module named 'qmk.cli.list.keyboards'
Warning: Could not import qmk.cli.list.keymaps: ModuleNotFoundError, No module named 'qmk.cli.list.keymaps'
Warning: Could not import qmk.cli.list.layouts: ModuleNotFoundError, No module named 'qmk.cli.list.layouts'
Warning: Could not import qmk.cli.new.keyboard: ModuleNotFoundError, No module named 'qmk.cli.new.keyboard'
Warning: Could not import qmk.cli.new.keymap: ModuleNotFoundError, No module named 'qmk.cli.new.keymap'
Ψ Found qmk_firmware at /home/seth/Documents/qmk_firmware.
Warning: Could not import qmk.cli.ci.validate_aliases: ModuleNotFoundError, No module named 'qmk.cli.ci.validate_aliases'
Warning: Could not import qmk.cli.chibios.confmigrate: ModuleNotFoundError, No module named 'qmk.cli.chibios.confmigrate'
Warning: Could not import qmk.cli.compile: ModuleNotFoundError, No module named 'qmk.cli.generate.compilation_database'
Warning: Could not import qmk.cli.format.c: ModuleNotFoundError, No module named 'qmk.cli.format.c'
Warning: Could not import qmk.cli.format.json: ModuleNotFoundError, No module named 'qmk.cli.format.json'
Warning: Could not import qmk.cli.format.python: ModuleNotFoundError, No module named 'qmk.cli.format.python'
Warning: Could not import qmk.cli.format.text: ModuleNotFoundError, No module named 'qmk.cli.format.text'
Warning: Could not import qmk.cli.generate.api: ModuleNotFoundError, No module named 'qmk.cli.generate.api'
Warning: Could not import qmk.cli.generate.autocorrect_data: ModuleNotFoundError, No module named 'qmk.cli.generate.autocorrect_data'
Warning: Could not import qmk.cli.generate.compilation_database: ModuleNotFoundError, No module named 'qmk.cli.generate.compilation_database'
Warning: Could not import qmk.cli.generate.config_h: ModuleNotFoundError, No module named 'qmk.cli.generate.config_h'
Warning: Could not import qmk.cli.generate.develop_pr_list: ModuleNotFoundError, No module named 'qmk.cli.generate.develop_pr_list'
Warning: Could not import qmk.cli.generate.dfu_header: ModuleNotFoundError, No module named 'qmk.cli.generate.dfu_header'
Warning: Could not import qmk.cli.generate.docs: ModuleNotFoundError, No module named 'qmk.cli.generate.docs'
Warning: Could not import qmk.cli.generate.info_json: ModuleNotFoundError, No module named 'qmk.cli.generate.info_json'
Warning: Could not import qmk.cli.generate.keyboard_c: ModuleNotFoundError, No module named 'qmk.cli.generate.keyboard_c'
Warning: Could not import qmk.cli.generate.keyboard_h: ModuleNotFoundError, No module named 'qmk.cli.generate.keyboard_h'
Warning: Could not import qmk.cli.generate.keycodes: ModuleNotFoundError, No module named 'qmk.cli.generate.keycodes'
Warning: Could not import qmk.cli.generate.keycodes_tests: ModuleNotFoundError, No module named 'qmk.cli.generate.keycodes_tests'
Warning: Could not import qmk.cli.generate.make_dependencies: ModuleNotFoundError, No module named 'qmk.cli.generate.make_dependencies'
Warning: Could not import qmk.cli.generate.rgb_breathe_table: ModuleNotFoundError, No module named 'qmk.cli.generate.rgb_breathe_table'
Warning: Could not import qmk.cli.generate.rules_mk: ModuleNotFoundError, No module named 'qmk.cli.generate.rules_mk'
Warning: Could not import qmk.cli.generate.version_h: ModuleNotFoundError, No module named 'qmk.cli.generate.version_h'
Warning: Could not import qmk.cli.git.submodule: ModuleNotFoundError, No module named 'qmk.cli.git.submodule'
Warning: Could not import qmk.cli.import.kbfirmware: ModuleNotFoundError, No module named 'qmk.cli.import.kbfirmware'
Warning: Could not import qmk.cli.import.keyboard: ModuleNotFoundError, No module named 'qmk.cli.import.keyboard'
Warning: Could not import qmk.cli.import.keymap: ModuleNotFoundError, No module named 'qmk.cli.import.keymap'
Warning: Could not import qmk.cli.list.keyboards: ModuleNotFoundError, No module named 'qmk.cli.list.keyboards'
Warning: Could not import qmk.cli.list.keymaps: ModuleNotFoundError, No module named 'qmk.cli.list.keymaps'
Warning: Could not import qmk.cli.list.layouts: ModuleNotFoundError, No module named 'qmk.cli.list.layouts'
Warning: Could not import qmk.cli.new.keyboard: ModuleNotFoundError, No module named 'qmk.cli.new.keyboard'
Warning: Could not import qmk.cli.new.keymap: ModuleNotFoundError, No module named 'qmk.cli.new.keymap'
usage: qmk [-h] [-v] [--datetime-fmt DATETIME_FMT] [--log-fmt LOG_FMT] [--log-file-fmt LOG_FILE_FMT]
[--log-file-level {debug,info,warning,error,critical}] [--log-file LOG_FILE] [--color] [--no-color] [--unicode]
[--no-unicode] [-V] [--interactive] [--config-file CONFIG_FILE]
{config,clone,console,env,setup,c2json,cd,clean,find,flash,info,json2c,lint,via2json} ...
qmk: error: argument {config,clone,console,env,setup,c2json,cd,clean,find,flash,info,json2c,lint,via2json}: invalid choice: 'doctor' (choose from 'config', 'clone', 'console', 'env', 'setup', 'bux', 'c2json', 'cd', 'clean', 'docs', 'find', 'flash', 'hello', 'info', 'json2c', 'license-check', 'lint', 'kle2json', 'mass-compile', 'migrate', 'pytest', 'via2json')```
### Additional Context?
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem with python3 -m pip install qmk, then run qmk setup and the affected commands to confirm the missing qmk.cli modules. Inspect the installed package and the command entry points; done means a fresh install exposes the listed modules and QMK commands run without ModuleNotFoundError or missing-command errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100