-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plyvel not linked correctly to leveldb
in MacOS
#134
Comments
@julianmrodri Hey there, I stumbled upon similar issue. Do you happen to find any solution yet? |
No.. had to move to another installation method using Docker. |
It looks like this issue is a duplication of #114. In the latest version (1.23), it disabled RTTI, that causes this issue. |
To solve brew uninstall leveldb
# Fetches the LevelDB v1.22 formula.
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/e2c833d326c45d9aaf4e26af6dd8b2f31564dc04/Formula/leveldb.rb
brew install --formula ./leveldb.rb
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
export CPATH="$CPATH:$(brew --prefix)/include"
# Use pip3 maybe.
pip install plyvel There are a few noticeable setups with my device:
|
I guess brew removed old version as now i have this in console output:
|
Work for me |
Issue
Getting the following error when trying to import
plyvel
in Python console after installingleveldb
.Additional information and context can be found in this issue (ConsenSysDiligence/mythril#1509). Redirected from their repo.
Steps I followed to install (which include
leveldb
).But after installation if I try to run simple
plyvel
import in Python console I get this error.It is likely the leveldb packages aren't linked to plyvel correctly?
Enviroment
Python version: python -V returns Python 2.7.161. python3 -V returns Python 3.7.7
OS and Version: MacOS Big Sur
The text was updated successfully, but these errors were encountered: