Scapy module installation
PIP install scapy
pip install scapy
Unexpectedly prompt permission problem, then
sudo pip install scapy
Or an error permission denied
so query on the Internet, found that the original MAC system caused by the sip mechanism.
reference: reference link
sudo pip install scapy --user -U
Scapy module is installed with
>>python >>import scapy
No problem. I thought the installation was successful, so I started writing code. Reference code links:
http://blog.csdn.net/hitwangpeng/article/details/49278409 found that at the time of import module after error:
from scapy.all import *
If you encounter an error that does not exist in the module, you simply need PIP Install XX to install the corresponding module.
MAC encountered this error:
importError: No module named pcapy
Then install the PCAPY module and encounter the same permission problem. Use:
pip install pcapy --user -U
After the installation, an error occurred:
ImportError: No module named dumbnet
When installing with PIP, the module did not exist, and I was surprised to find a suitable solution after a web search:
download the source code and install using setup.py.
reference link: https://stackoverflow.com/questions/40272077/importerror-no-module-named-dumbnet-when-trying-to-run-a-script-that-leverage
git clone https://github.com/dugsong/libdnet.git cd libdnet ./configure && make cd python python setup.py install
At this point, the MAC installation is complete and the script Demo mentioned at the beginning of the test is successful.
But Windows encountered a strange error:
self._handle = _dlopen(self._name, mode) WindowsError: [Error 126]
The error message goes up to trace, sees is in loads wpcap.DLL this module times gives the error, therefore, searches in the computer, discovers as expected my machine does not have wpcap.DLL file, searches on the net, discovers can oneself download installs wpcap.DLL module. Specific methods, refer to the tutorial, I’m in the way a, has not been successful, then after use method 2 is very effective, recommend to you
reference links: http://www.jb51.net/os/windows/378774.html
Once the installation is complete, import IT and run the script. praise
- Cannot run program “make” when compiling APM firmware with eclipse under Windows: launching failed problem
- Solutions to the problems of unsuccessful installation of winpcap4.13 under win10
- Importerror: the perfect solution of no module named CV2!!! (not too good)
- Resolve the error raise importerror, str (MSG) + ‘, please install the python TK package’ (valid for personal testing)
- Installing PyQt4 in Windows + Python 3.6
- Install in Python 3. X web.py
- Python import GDAL failed: DLL load failed. The specified module cannot be found.
- matplotlib error – no module named tkinter
- Tensorflow import error: DLL load failed: the specified module could not be found
- tensorflow import error: DLL load failed: The specified module could not be found (DLL load failed: The specified module could not be found)
- ModuleNotFoundError: No module named ‘notebook‘
- ImportError: ‘DLL load failed: %1 is not a valid Win32 application.
- Error msb3428 appears in NPM install: could not load the visual c + + component VCBuild.exe error
- No module named numpy error in Python code
- Importerror: DLL load failed while importing win32gui: 1 is not a valid Win32 Application.
- ImportError: numpy.core.multiarray failed to import
- Solution: PIP install MySQL Python has the following problems
- Error no module named ‘in newly installed Python_ sqlite3‘
- Typeerror: ‘module’ object is not callable
- Installing gensim in Anaconda