(Apologies in advance that I am pretty new to Python and Pycharm..)
We have a Python library package stored in our git repository. This has a setup.py file using setuptools and creates an egg when run.
In another application, we have another setup.py file which lists the library in the install_requires section. It also lists it in dependency_links. So it looks a bit like:
install_requires= [ 'my_library == 1.0.0' ],
dependency_links = [
After installing (python setup.py install from terminal within the virtual env.),, I can see in my venv site-packages that there is a "my_library-1.0.0-py3.5.egg. Opening this up I can see the files pulled down from git and all seems fine.
When I run my application, imports such as "import my_module" that come from this dependency work fine. However, PyCharm put red wiggly underlines and says "No module named my_module".
(By "run" I mean from the terminal or right clicking and running from Pycharm)
I'm using a virtualenv (which I created through pycharm), Python version 3.5.2 on Ubuntu. I can see this set up as the interpreter in project settings.
Any idea how I can make this work?