我一直在尝试在Ubuntu 12.04上安装Anki。
当我尝试从应用程序菜单启动它时没有任何反应。 我试图从终端开始它,我得到了这个错误。
Traceback (most recent call last):
File "/usr/bin/anki", line 5, in <module>
import aqt
File "/usr/share/anki/aqt/__init__.py", line 12, in <module>
from aqt.qt import *
File "/usr/share/anki/aqt/qt.py", line 10, in <module>
from anki.utils import isWin, isMac
File "/usr/share/anki/anki/__init__.py", line 34, in <module>
from anki.storage import Collection
File "/usr/share/anki/anki/storage.py", line 11, in <module>
from anki.db import DB
File "/usr/share/anki/anki/db.py", line 11, in <module>
from sqlite3 import dbapi2 as sqlite
File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
from dbapi2 import *
File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: No module named _sqlite3
我在论坛上查看了有关安装sqlite3和使用
的建议sudo apt-get install sqlite3 libsqlite3-dev
然后重建了Python,但错误仍然存在。
任何人都可以帮助我吗?