我使用Python 3.4并且UnQlite数据库存在问题。它适用于Python 2.x,但在
之后的较新版本中from unqlite import UnQLite
db = UnQLite()
错误出现:
File "/home/mwalko/PycharmProjects/PracaInzynierska/bin/project/calculations/Calculate.py", line 32, in __init__
db = UnQLite()
File "unqlite.pyx", line 285, in unqlite.UnQLite.__init__ (unqlite.c:1888)
File "unqlite.pyx", line 296, in unqlite.UnQLite.open (unqlite.c:2003)
TypeError: expected bytes, str found
有什么方法可以解决这个问题吗?