I'm encountering issues when importing the manually built package. what i do is this:
git clone https://github.com/NightTsarina/python-rocksdb.git
cd python-rocksdb
python3 setup.py build -f
python3 setup.py install
above code could install the package successfully.
however, when i trying import it in python, an error malloc error occured.
➜ python-rocksdb (main) python3 ✭ ✱
Python 3.10.4 (main, Apr 26 2022, 19:43:24) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import rocksdb
Python(20113,0x20242c600) malloc: *** error for object 0x10b769be0: pointer being freed was not allocated
Python(20113,0x20242c600) malloc: *** set a breakpoint in malloc_error_break to debug
[1] 20113 abort python3
OSX: Monterey 12.4
RocksDB: 6.29.4
Python: 3.10.4
Any ideas? Thanks
Tim
I'm encountering issues when importing the manually built package. what i do is this:
above code could install the package successfully.
however, when i trying import it in python, an error malloc error occured.
OSX: Monterey 12.4
RocksDB: 6.29.4
Python: 3.10.4
Any ideas? Thanks
Tim