Giter Site home page Giter Site logo

lbryio / lbry-rocksdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twmht/python-rocksdb

22.0 1.0 11.0 598 KB

Python bindings for RocksDB

License: BSD 3-Clause "New" or "Revised" License

Python 24.50% C++ 7.79% Makefile 0.60% Cython 66.84% Shell 0.28%

lbry-rocksdb's People

Contributors

abhiramr avatar alexandrem avatar breznak avatar fish2000 avatar fried avatar gmossessian avatar ifa88 avatar jackrobison avatar kevinkjt2000 avatar maxibor avatar meridianz avatar metachris avatar mosquito avatar rimpybharot avatar sileht avatar stephan-hof avatar twmht avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

lbry-rocksdb's Issues

arm build is not published on pypi

Compilation of lbrynet incomplete as this dependency fails to retrieve.

Using Linux 5.10.103-v7l+ armv7l, Raspian 10.12

$ pip3 install -e .
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Obtaining file:///home/joel/bin/lbry-sdk
Collecting aiohttp==3.7.4 (from lbry==0.109.0)
...
  Using cached https://files.pythonhosted.org/packages/aa/c6/40a91039e7e4ae921ca093bbf57ecca6ec14d0d5cb23cda329e3e2f373f0/grpcio-1.38.0-cp37-cp37m-linux_armv7l.whl
Collecting filetype==1.0.9 (from lbry==0.109.0)
  Using cached https://files.pythonhosted.org/packages/6f/ac/ffbd9a1e6e225fc7eaa7271aceed7f4988c1c9f2e460ffd1aa0f72b9d97b/filetype-1.0.9-py2.py3-none-any.whl
Collecting lbry-rocksdb==0.8.2 (from lbry==0.109.0)
  Could not find a version that satisfies the requirement lbry-rocksdb==0.8.2 (from lbry==0.109.0) (from versions: )
No matching distribution found for lbry-rocksdb==0.8.2 (from lbry==0.109.0)

Could not install from pip

$ pip install lbry-rocksdb
ERROR: Could not find a version that satisfies the requirement lbry-rocksdb (from versions: none)
ERROR: No matching distribution found for lbry-rocksdb

I'm in a python 3.8 environment. Other packages are fine. I don't know what's the issue.

after-compile pip install errors. which libraries is it looking for?

lbry-rocksdb compiles just fine per the written instructions.

Then pip fails to install it, wheel claiming it can't find static libraries.

setup.py appears to look for

  • librocksdb.a (debian package librocksdb-dev)
  • libbz2.a (debian package libbz2-dev)
  • liblz4.a (debian package liblz4-dev)
  • libsnappy.a (debian package libsnappy-dev)
  • libz.a (debian package zlib1g-dev)
  • libzstd.a (debian package libzstd-dev)

None of these packages are part of [Debian] build-essentials or binutils packages. Maybe they should be put in the build instructions to install these libraries?

Even after installing these libraries, wheel failed. Even after re-compiling the whole package, wheel failed. pip install -e . yields the following error(s):

Installing build dependencies ... done
Checking if build backend supports build editable ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

* Getting requirements to build wheel did not run successfully.
  exit code: 1
    [1 lines of output]
    missing static library files
    [end of output]

note: this error originates from a subprocess, and is likely not a problem with pip.
error: subprocess exited with error

Getting requirements to build wheel did not run successfully.
exit code: 1
See above for output

note: This error originates from a subprocess, and is likely not a problem with pip.

So, which static libraries is it looking for?

I thought it might be looking for [Debian package] python3-snappy, so I installed and again tried the pip install. Result -- fail with same errors.

Then I thought that if there's a python3-snappy debian package, there must be a snappy available from pypi, so I attempted to install it [with pip] resulting in pages of errors and an unsuccessful install.

What am I missing?

Hardware: Pine64 PineTab (aarch64 arm), OS: Mobian (debian bookworm), python 3.10.5, gcc 11.3.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.