当我运行时出现此错误netsh http show iplisten:
netsh: command not found
Run Code Online (Sandbox Code Playgroud)
我应该安装什么包?
我想使用以下命令在我的 ubuntu 上安装 moka 主题:
sudo add-apt-repository ppa:moka/stable
Run Code Online (Sandbox Code Playgroud)
但得到错误:
Original exception was:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 11, in <module>
from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 27, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Run Code Online (Sandbox Code Playgroud)
python -V: 2.7.6
python3 -V: 3.6.3
我该怎么办?