Python中文
首页
教程
问答
标签
搜索
登录
注册
Python 2.7.11-ImportError:无法导入名称QtWebKit-Kali Linux/Debian 8
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>我正在尝试启动依赖于QtWebKit的应用程序,但无法导入模块。我试过通过启动python和导入其他模块进行调试。它们都工作得很好(例如,从PyQt4导入QtGui,QtCore)工作起来没有任何问题,但是当我运行</p> <pre><code>from PyQt4 import QtGui, QtCore, QtWebKit </code></pre> <p>我收到以下信息:</p> <pre><code>Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: cannot import name QtWebKit </code></pre> <p>我还尝试了以下操作,但没有成功(它们安装得很好,但无法解决问题):</p> <pre><code>apt-get install --reinstall python-qt4 apt-get install --reinstall python-2.7 </code></pre>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>不幸的是,开发人员没有时间和资源永久地解决这个问题。但是你可以在这里更新和兼容Kali版本 <a href="https://github.com/alexxn/sparta" rel="nofollow noreferrer">https://github.com/alexxn/sparta</a></p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
无法使用Django/mongoengine连接到MongoDB(身份验证失败)
6 回答
无法使用Django\u mssql\u后端迁移到外部hos
8 回答
无法使用Django&Python3.4连接到MySql
9 回答
无法使用Django+nginx上载媒体文件
4 回答
无法使用Django1.6导入名称模式
10 回答
无法使用Django1.7和mongodb登录管理站点
1 回答
无法使用Djangoadmin创建项目,进程使用了错误的路径,因为我事先安装了错误的Python
2 回答
无法使用Djangockedi验证CBV中的字段
5 回答
无法使用Djangocketditor上载图像(错误400)
7 回答
无法使用Djangocron进行函数调用
7 回答
无法使用Djangofiler djang上载文件
8 回答
无法使用Djangokronos
4 回答
无法使用Djangomssql provid
5 回答
无法使用Djangomssql连接到带有Django 1.11的MS SQL Server 2016
8 回答
无法使用Djangomssq迁移Django数据库
4 回答
无法使用Djangonox创建用户
4 回答
无法使用Djangopyodb从Django查询SQL Server
10 回答
无法使用Djangopython3ldap连接到ldap
2 回答
无法使用Djangoredis连接到redis
9 回答
无法使用Django中的FK创建新表
6 回答