My colleagues shared some programs and modules with me. I put them in ...../anaconda3/lib/python3.7/site-packages/pdbParser. Below show the content.
I set this directory in $PATH. However, when I run my program at another directory (let's say user directory), I received below error message.
File "run.py", line 20, in <module>
from pdbParser.pdbParser import pdbParser
File "/<my system dir>/anaconda3/lib/python3.7/site-packages/pdbParser/__init__.py", line 14, in <module>
from __pkginfo__ import __version__, __author__
ModuleNotFoundError: No module named '__pkginfo__'
Actually, my program (run.py) can call the module (pdbParser.py) in "//anaconda3/lib/python3.7/site-packages/pdbParser/" but the module (pkginfo.py) called by pdbParser.py cannot be found. I do not understand why it happened. I read related questions (1 and 2) in this community, but I could not get the issue fixed. Is there anything wrong on my end? Any further help and suggestion would be highly appreciated.