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

ModuleNotFoundError occurs when running after installing with pip. #70

Closed
soimsoim opened this issue Oct 14, 2020 · 3 comments
Closed
Assignees

Comments

@soimsoim
Copy link

soimsoim commented Oct 14, 2020

I tried running it after installing it with pip on python 3.6.9. Then, the following error occurs.
Are there additional modules I need to install?

$pip install atarashi 
$atarashi -h
Traceback (most recent call last):
  File "/home/soimkim/test/venv/bin/atarashi", line 5, in <module>
    from atarashi.atarashii import main
  File "/home/soimkim/test/venv/lib/python3.6/site-packages/atarashi/atarashii.py", line 26, in <module>
    from atarashi.agents.cosineSimNgram import NgramAgent
  File "/home/soimkim/test/venv/lib/python3.6/site-packages/atarashi/agents/cosineSimNgram.py", line 30, in <module>
    from atarashi.agents.atarashiAgent import AtarashiAgent
  File "/home/soimkim/test/venv/lib/python3.6/site-packages/atarashi/agents/atarashiAgent.py", line 27, in <module>
    from atarashi.libs.commentPreprocessor import CommentPreprocessor
  File "/home/soimkim/test/venv/lib/python3.6/site-packages/atarashi/libs/commentPreprocessor.py", line 23, in <module>
    import code_comment  # https://github.com/amanjain97/code_comment/
ModuleNotFoundError: No module named 'code_comment'
@GMishx
Copy link
Member

GMishx commented Oct 14, 2020

Thanks for writing in, we changed the dependency some time back but didn't push new version of atarashi on PyPi.

@GMishx
Copy link
Member

GMishx commented Oct 14, 2020

Hello @soimsoim , we have pushed the version to PyPI: https://pypi.org/project/atarashi/0.0.11

Just update the package and it should work now.

@GMishx
Copy link
Member

GMishx commented Oct 30, 2020

Closing the issue as the new version was released in #71

Please reopen if the issue persists.

@GMishx GMishx closed this as completed Oct 30, 2020
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

2 participants