'knowledge_repo' is a package and cannot be directly executed'
anjalijain22 opened this issue · 2 comments
anjalijain22 commented
When I try to create a ipython notebook using the command -
python -m knowledge_repo --repo "C:/User/Anjali/Desktop/Knowledge_Repo" create ipynb example_post.ipynb
I get the following error -
No module named knowledge_repo.main; 'knowledge_repo' is a package and cannot be directly executed
Can someone please help me out with this issue?
bartaelterman commented
Drop the python -m
.
See https://knowledge-repo.readthedocs.io/en/latest/installation.html
bulam commented
@bartaelterman 's suggestion should work, so closing this one.