ImportError: No module named six. Python 2.7.18

I ran:

  • sudo python /usr/lib/python3/dist-packages/impacket/ shared files

and received:

  • Traceback (most recent call last):
    File “/usr/lib/python3/dist-packages/impacket/”, line 44, in
    from six import PY2, b, text_type
    ImportError: No module named six

I then ran:

  • python2.7 -m pip install six

And i get the same errors when attempting the original command. Does anyone have any advice? Thanks

I figured it out. I did not have impacket installed. Anyone have advice on how I can delete this post?