Closed felddy closed 5 years ago
I had the same thing for dateutil for gophish-0.2.5 and had to install py-dateutil
from gophish import GoPhish
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/gophish/__init__.py", line 1, in <module>
from .client import Gophish
File "/usr/local/lib/python3.6/dist-packages/gophish/client.py", line 3, in <module>
from gophish.api import (campaigns, groups, pages, smtp, templates)
File "/usr/local/lib/python3.6/dist-packages/gophish/api/__init__.py", line 1, in <module>
from .api import APIEndpoint
File "/usr/local/lib/python3.6/dist-packages/gophish/api/api.py", line 1, in <module>
from gophish.models import Error
File "/usr/local/lib/python3.6/dist-packages/gophish/models.py", line 2, in <module>
from dateutil.tz import tzlocal
ModuleNotFoundError: No module named 'dateutil'
Fixed via 9a86be5
Thanks again!
Installing
gophish-0.2.5
via pip does not pull in the required dependencies. Below is the terminal output showing a virtual environment before and after an attempted install. The final block of output shows a failure when runningfrom gophish import Gophish
as described in theREADME.md