-
Notifications
You must be signed in to change notification settings - Fork 75
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
What does "set the proper environment variables for the compiler and linker" mean? #124
Comments
i think you need to recompile plyvel (remove your pip cache first). see also the other open issues about osx |
I tried reinstalling leveldb and plyvel, but that doesn't help. I keep getting the same error. I checked all previous macOS issues, but none of the solutions (if any were mentioned) worked either. Perhaps it's an issue with leveldb 1.23 and 1.22 will work (as mentioned here) or when the package is upgraded to work with the latest version. |
plyvel should work with both. make sure you (re)compile against the installed version. if you recompile you should see compiler output, not a locally cached wheel. did you try removing the pip cache first? |
I also test compile both ImportError: dlopen(/Users/siyao/Documents/python-packages/plyvel/plyvel/_plyvel.cpython-37m-darwin.so, 2): Symbol not found: __ZTIN7leveldb10ComparatorE However, leveldb 1.21 is ok. |
I get |
I got the following error when trying to import plyvel:
The docs mention "Install LevelDB or set the proper environment variables for the compiler and linker". What does "proper" mean? I installed leveldb with
brew install leveldb
and already reinstalled plyvel. I'm on a Mac if it matters.The text was updated successfully, but these errors were encountered: