Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when trying to use on windows #138

Open
DiogoM-Almeida opened this issue Dec 11, 2023 · 0 comments
Open

error when trying to use on windows #138

DiogoM-Almeida opened this issue Dec 11, 2023 · 0 comments

Comments

@DiogoM-Almeida
Copy link

>>> Starting process 'CodeChecker analyzer-version'
> C:\\Python312\\Scripts\\CodeChecker.exe analyzer-version --output json
usage: CodeChecker [-h] {} ...
CodeChecker: error: invalid choice: 'analyzer-version' (choose from )
Couldn't import module for subcommand 'analyzer-version'... ignoring.
Traceback (most recent call last):
  File "C:\Python312\Lib\site-packages\codechecker_common\cli.py", line 167, in main
    add_subcommand(subparsers, subcommand,
  File "C:\Python312\Lib\site-packages\codechecker_common\cli.py", line 50, in add_subcommand
    command_module = cmd_spec.loader.load_module(module_name)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap_external>", line 648, in _check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 1175, in load_module
  File "<frozen importlib._bootstrap_external>", line 999, in load_module
  File "<frozen importlib._bootstrap>", line 537, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 960, in _load
  File "<frozen importlib._bootstrap>", line 929, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 994, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\Python312\Lib\site-packages\codechecker_analyzer/cmd\analyzer_version.py", line 15, in <module>
    from codechecker_analyzer import analyzer_context
  File "C:\Python312\Lib\site-packages\codechecker_analyzer\analyzer_context.py", line 14, in <module>
    from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils'
>>> Process 'CodeChecker analyzer-version' exited with code 1
>>> CodeChecker error while checking version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant