-
Notifications
You must be signed in to change notification settings - Fork 23
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
build/plyvel/_plyvel.cpp:1293:10: fatal error: leveldb/db.h: No such file or directory #88
Comments
I wound up having to install python 3.10.7 and after doing that I was able to install plyvel then re ran the requirements.txt and everything worked for me I also had to delete line 52 and 107 of the IDLE for fansly_downloader_main.py - it was advised - as found in the following thread - #84 |
Oops, deleted my previous comment before I realized you responded. I was able to get plyvel installed manually through Powershell by first downloading the plyvel_ci-1.5.1-cp312-cp312-win_amd64.whl file from the Plyvel page on PyPI. |
Oh! Commenting out lines 52 and 107 fixed that. Thanks for the help! |
Yeah I spent a lot of time as well trying to figure it out, but I didn't know how to do the .whl file install and I even tried at one point installing each requirement 1 at a time and it kept getting hung up on plyvel-ci till i found somewhere to install version 3.10 python and then i installed plyvel and it worked so odd |
This isn't actually a bug in this project; instead, it is an issue with plyvel requiring the LevelDB development headers and share library. Specifically called out (https://plyvel.readthedocs.io/en/latest/installation.html) |
I'm still struggling to get this to work on macOS Sonoma. I've used Homebrew to install leveldb with I've tried this, but same results: wbolster/plyvel#114 (comment) |
What worked for me on Sequoia was: brew install leveldb
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
export CPATH="$CPATH:$(brew --prefix)/include"
python3 -m pip install plyvel |
Thank you, @Jakan-Kink ! That did the trick!! |
IMPORTANT: Be sure to replace all
{{
template sections⚠️}}
or your issue may be discarded.Bug Description
Building wheels during requirements installations fails due to nonstandard header.
Expected behavior
Installation of requirements succeeds without errors.
Actual behavior
Building wheel for plyvel-ci fails.
Environment Information
User Research
I have done the following:
Additional context
This is a simple dependency issue, solved by installing the correct development package, per this Stackoverflow answer (archived). Dependency issues are easy enough to solve but the packages on various systems can be a touch obscure, making it difficult for newer Linux users to figure out, so I am reporting this issue and my fix for posterity. A documentation update (probably just linking to the SO in the README.MD) could address this dependency for future reference.
Aside: I also had to install
gcc-g++
package since Fedora doesn't come standard with that, so the call tog++
was failing.The text was updated successfully, but these errors were encountered: