我尝试导入#!/bin/bash
home_local=$HOME/.local/share
icon_dir=$home_local/icons/hicolor/48x48/apps
myapp_desktop=$home_local/applications/myapp.desktop
myapp_dir=$PWD
myapp=$myapp_dir/bin/myapp.sh
myapp_icons=$myapp_dir/icons/myapp.png
echo "[Desktop Entry]" > $myapp_desktop
echo "Name=MyApp" >> $myapp_desktop
echo "Exec=bash -c 'cd $myapp_dir;bash $myapp;exec bash'" >> $myapp_desktop
echo "Icon=myapp.png" >> $myapp_desktop
echo "Terminal=true" >> $myapp_desktop
echo "Type=Application" >> $myapp_desktop
cp $myapp_icon $icons_dir
,但是错误说'wpcap.dll'不存在。为什么会这样?我确信我正确地下载了所有内容。我将所有内容保存到名为scapy.all
的文件夹中。我从模块scapy
得到了一个OSError。 Python是否希望我预先安装一些东西?
这是我的错误(我使用了scapy.scapy.all,因为我将其保存到文件夹中)
ctypes