gbowne1/json-maestro

Running app_converter.py can't find module click whether its installed or not

オープン

#59 opened on 2025/04/07

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Python (2 件のフォーク)auto 404
buggood first issuehelp wanted

Repository metrics

Stars
 (4 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Although it pip installs fine,

I get

PS C:\Users\gbown\Documents\json-maestro\src\jsonmaestro> python3 app_converter.py
Traceback (most recent call last):
  File "C:\Users\gbown\Documents\json-maestro\src\jsonmaestro\app_converter.py", line 10, in <module>
    import click
ModuleNotFoundError: No module named 'click'
PS C:\Users\gbown\Documents\json-maestro\src\jsonmaestro>

it does this with or without being pip installed.

If you do pip install it correctly downloads click.

PS C:\Users\gbown\Documents\json-maestro\src\jsonmaestro> python3 app_converter.py
Traceback (most recent call last):
  File "C:\Users\gbown\Documents\json-maestro\src\jsonmaestro\app_converter.py", line 10, in <module>
    import click
ModuleNotFoundError: No module named 'click'
PS C:\Users\gbown\Documents\json-maestro\src\jsonmaestro>$ pip install jsonmaestro
Defaulting to user installation because normal site-packages is not writeable
Collecting jsonmaestro
  Downloading jsonmaestro-0.0.3.1-py3-none-any.whl.metadata (2.7 kB)
Collecting click (from jsonmaestro)
  Downloading click-8.1.8-py3-none-any.whl.metadata (2.3 kB)
Collecting colorama (from click->jsonmaestro)
  Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Downloading jsonmaestro-0.0.3.1-py3-none-any.whl (16 kB)
Downloading click-8.1.8-py3-none-any.whl (98 kB)
Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Installing collected packages: colorama, click, jsonmaestro
  WARNING: The scripts jm-cli.exe, jm-convert.exe and jsonmaestro.exe are installed in 'C:\Users\gbown\AppData\Roaming\Python\Python313\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed click-8.1.8 colorama-0.4.6 jsonmaestro-0.0.3.1

[notice] A new release of pip is available: 24.3.1 -> 25.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip

コントリビューターガイド