PyBNesian icon indicating copy to clipboard operation
PyBNesian copied to clipboard

Running pybnesian in 2024

Open jrzkaminski opened this issue 1 year ago • 3 comments

Hello! If someone ever considers to return to this package, please, keep in mind that apache change: - BitUtil namespace has been renamed to bit_utls

So the code won't be compiled with modern apache arrow versions. I'd say go with <=9.0.0

Also, callbacks do not work if pybnesian is installed from pip, python does not see package modules like learning or models. I've managed to compile the library from source on arch linux with python 3.8.18, clang 16.0.6-1 and these python libraries:

numpy==1.24.4
pandas==2.0.3
pyarrow==3.0.0
pybind11==2.11.1
pybnesian==0.0.1
python-dateutil==2.8.2
pytz==2023.3.post1
scipy==1.10.1
six==1.16.0
tzdata==2023.4

And if you encounter RuntimeError: OpenCL platforms not found., please install OpenCL for you Nvidia, AMD GPU or intel, amd CPU

If you are using conda, please see: https://stackoverflow.com/questions/72540359/glibcxx-3-4-30-not-found-for-librosa-in-conda-virtual-environment-after-tryin

jrzkaminski avatar Jan 17 '24 12:01 jrzkaminski