I'm trying to pip install a separate git repo into my python project. Pip install seems to work when I run pip install git+https://github.com/XxdpavelxX/myapp
. However when I then run my code I get the following error.
Here's my app: https://github.com/XxdpavelxX/myapp
ModuleNotFoundError: No module named 'myapp'
ERROR: could not load /Users/myUser/stuff/callerFile.py
Here's the callerFile.py
(in a separate git repo):
from myapp import test
print test.random_print()
I suspect that this is pip install
related. When I run pip install git+https://github.com/XxdpavelxX/myapp
it seems to pass, however inside of my python venv/lib/python3.7/site-packages
I only see myapp-1.0py3.7.eggs-info
instead of the actual package. Anyone knowing what I'm doing wrong? Do I need to add my library to pypi for this to work?
Edit: Added the actual url to github repo I'm testing.