You will no longer get the import error.Identify the location of scapy on you box.Type "help", "copyright", "credits" or "license" for more information. Identify the location where Python is importing its libraries from $ python If you are using ubuntu type: 'sudo apt-get install python3-scapy' for python version >= 3. If that still doesn't work, try re-installing the module, because it seems there is an issue there. Os.('/usr/local/lib/python2.7/site-packages') and try to load it. Verify /usr/local/lib/python2.7/site-packages is in that list. So, where does it look for modules? import os found error happens when Python doesn't find your module.
0 Comments
Leave a Reply. |