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

Win X64: ModuleNotFoundError: No module named 'staticcodecov_languages' #404

Open
2 tasks
Josverl opened this issue Apr 3, 2024 · 3 comments
Open
2 tasks
Labels
bug Something isn't working

Comments

@Josverl
Copy link

Josverl commented Apr 3, 2024

not able to run codecovcli without below errors
no command codecov is available

install method: 'pip install codecov-cli'

Windows 11, x64
python 3.11.7
codecov-cli: 0.4.9

PS D:\MyPython\micropython-stubber> codecovcli --version       
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "D:\MyPython\micropython-stubber\.venv\Scripts\codecovcli.exe\__main__.py", line 4, in <module>
  File "D:\MyPython\micropython-stubber\.venv\Lib\site-packages\codecov_cli\main.py", line 16, in <module>
    from codecov_cli.commands.staticanalysis import static_analysis
  File "D:\MyPython\micropython-stubber\.venv\Lib\site-packages\codecov_cli\commands\staticanalysis.py", line 10, in <module>
    from codecov_cli.services.staticanalysis import run_analysis_entrypoint
  File "D:\MyPython\micropython-stubber\.venv\Lib\site-packages\codecov_cli\services\staticanalysis\__init__.py", line 15, in <module>
    from codecov_cli.services.staticanalysis.analyzers import get_best_analyzer
  File "D:\MyPython\micropython-stubber\.venv\Lib\site-packages\codecov_cli\services\staticanalysis\analyzers\__init__.py", line 2, in <module>
    from codecov_cli.services.staticanalysis.analyzers.javascript_es6 import ES6Analyzer
  File "D:\MyPython\micropython-stubber\.venv\Lib\site-packages\codecov_cli\services\staticanalysis\analyzers\javascript_es6\__init__.py", line 5, in <module>
    import staticcodecov_languages
ModuleNotFoundError: No module named 'staticcodecov_languages'

while removing, a part of the cause seems to be that someone assumed that the tool will only be used on *nix systems.

pip uninstall codecov-cli 
Found existing installation: codecov-cli 0.4.5
Uninstalling codecov-cli-0.4.5:
  Would remove:
  ....
d:\mypython\micropython-stubber\.venv\lib\site-packages\staticcodecov_languages.cpython-311-x86_64-linux-gnu.so

Tasks

@Josverl Josverl changed the title ModuleNotFoundError: No module named 'staticcodecov_languages' Win X64: ModuleNotFoundError: No module named 'staticcodecov_languages' Apr 3, 2024
@thomasrockhu-codecov thomasrockhu-codecov added the bug Something isn't working label Apr 16, 2024
@thomasrockhu-codecov
Copy link
Contributor

Note that this seemed to be broken for #413 but using python3.11

@Josverl
Copy link
Author

Josverl commented Apr 17, 2024

#413 was closed as a Dup of itself ?

@thomasrockhu-codecov
Copy link
Contributor

@Josverl gah, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants