0

I am trying to use pyshark and I am fairly new to the field. But I am encountering this error " module 'pyshark' has no attribute 'Filecapture' ", Even though I am importing pyshark, I am getting the same error, I have even tried running it with sudo from the terminal.

  • Welcome to Stack Overflow. You probably want to run this in a virtualenv. You should read up on them: https://realpython.com/python-virtual-environments-a-primer/ – Ross Jacobs Apr 17 '20 at 07:32
  • 1
    Thank you Ross, turns out I made a silly mistake, Filecapture instead of FileCapture, sorry for such a stupid mistake. – Arnab Mondal Apr 17 '20 at 08:11

0 Answers0