Hi, I am trying to follow the network dashboard project posted by Chaitanya Rahalkar.
I keep getting and error importing scay using ‘from scapy.all import *’ I tried variations of this import but none appear to work. The interpreter is throwing a ModuleNotFoundError 'no module named ‘scapy.modules.six.moves’ . Suggestions are appreciatged.
First check if you have installed the module.
If yes and still error:
Try checking if the path the python interpreter is looking at contains the installed module.
import sys
print(sys.path)
this will show you all the paths the interpreter is looking.
If still the error continue try using a venv
$~ python3 -m venv .venv
$~ source .venv/bin/activate
$~ pip install module
$~ python3 main.py
then always run your code in a terminal that has source of the venv active
This is a virtual envirnment that goes with your code and will work everywhere till the source is set to the venv