我正试图在我的电脑上安装Pylot,并使用Pylot网站的说明。他们的网站要求你安装wxPython。当我试图从他们提供的资源,我是抛出一个错误。
下面是Pylot入门指南:http://www.pylot.org/gettingstarted.html
它指示Linux用户在列表中的第三位安装wxPython。我遵循他们为安装wxPython (http://wiki.wxpython.org/InstallingOnUbuntuOrDebian)提供的资源,并在运行他们的第一行代码时得到一个错误.
curl http://apt.wxwidgets.org/key.asc | sudo apt-key add -
这就是我被抛出的错误。
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: apt.wxwidgets.org
gpg: no valid OpenPGP data found.
有人能帮我把派洛弄起来吗?我玩得很痛快。
发布于 2015-11-09 07:58:37
主机名apt.wxwidgets.org
是无效主机。
$ host ping http://apt.wxwidgets.org/
host: couldn't get address for 'http://apt.wxwidgets.org/': not found
最新支持的Ubuntu版本是Ubuntu11.04。
根据您的Ubuntu版本,从Ubuntu存储库安装python-wxgtk2.8
或python-wxgtk2.6
:
sudo apt-get install python-wxgtk2.6
sudo apt-get install python-wxgtk2.8
https://askubuntu.com/questions/695707
复制相似问题