You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IPv8 fails to run on MacOS with following stacktrace:
File "ipv8.py", line 5, in <module>
from twisted.plugins.ipv8_plugin import Options, service_maker
File "/Users/sandippandey/tudelft/personal/py-ipv8/twisted/plugins/ipv8_plugin.py", line 18, in <module>
from ipv8.attestation.identity.community import IdentityCommunity
File "/Users/sandippandey/tudelft/personal/py-ipv8/ipv8/attestation/identity/community.py", line 6, in <module>
from ..trustchain.community import TrustChainCommunity
File "/Users/sandippandey/tudelft/personal/py-ipv8/ipv8/attestation/trustchain/community.py", line 11, in <module>
from .database import TrustChainDB
File "/Users/sandippandey/tudelft/personal/py-ipv8/ipv8/attestation/trustchain/database.py", line 6, in <module>
from ...database import Database
File "/Users/sandippandey/tudelft/personal/py-ipv8/ipv8/database.py", line 18, in <module>
import pysqlite2.dbapi2 as sqlite3
File "/Users/sandippandey/tudelft/viro/lib/python2.7/site-packages/pysqlite2/dbapi2.py", line 28, in <module>
from pysqlite2._sqlite import *
ImportError: dlopen(/Users/sandippandey/tudelft/viro/lib/python2.7/site-packages/pysqlite2/_sqlite.so, 2): Symbol not found: _sqlite3_enable_load_extension
Referenced from: /Users/sandippandey/tudelft/viro/lib/python2.7/site-packages/pysqlite2/_sqlite.so
Expected in: flat namespace
in /Users/sandippandey/tudelft/viro/lib/python2.7/site-packages/pysqlite2/_sqlite.so
The problem is with pysqlite2 import import pysqlite2.dbapi2 as sqlite3
For my case, using sqlite3 resolves the issue from sqlite3 import dbapi2 as sqlite3
The text was updated successfully, but these errors were encountered:
IPv8 fails to run on MacOS with following stacktrace:
The problem is with pysqlite2 import
import pysqlite2.dbapi2 as sqlite3
For my case, using sqlite3 resolves the issue
from sqlite3 import dbapi2 as sqlite3
The text was updated successfully, but these errors were encountered: