Skip to content

Installation problem: python-rocksdb gives an error for both the conda install and the pip install #17

@ZoePochon

Description

@ZoePochon

I've tried installing sam2lca on two servers with conda and with pip but it seems that an error while trying to install the python-rocksdb package is failing the installations.

  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/sw/comp/python/3.10.8/rackham/include/python3.10 -c rocksdb/_rocksdb.cpp -o build/temp.linux-x86_64-cpython-310/rocksdb/_rocksdb.o -std=c++11 -O3 -Wall -Wextra -Wconversion -fno-strict-aliasing -fno-rtti
  rocksdb/_rocksdb.cpp:770:27: fatal error: rocksdb/slice.h: No such file or directory
   #include "rocksdb/slice.h"
                             ^
  compilation terminated.
  error: command '/usr/bin/gcc' failed with exit code 1
  [end of output]

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

× Encountered error while trying to install package.
╰─> python-rocksdb

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions