manspider.py Module Import Error
jsarkisian opened this issue · comments
When running man_spider.py, a module import error takes place:
Traceback (most recent call last): File "/root/tools/MANSPIDER/man_spider/manspider.py", line 8, in <module> from .lib import * ImportError: attempted relative import with no known parent package
The fix is to remove the .
in .lib
Thanks!
Removing the .
breaks PyPi compatibility but this is an acceptable fix if pip/pipx is not being used.