pip install -e does not build shared libraries

Cebtenzzre cebtenzzre at gmail.com
Wed Jun 21 22:40:13 EDT 2023


On Wed, Jun 21, 2023 at 5:45 PM Cebtenzzre <cebtenzzre at gmail.com> wrote:
> In the case of bitsandbytes, there is no build folder generated at
> all, just bitsandbytes.egg-info. This results in an error when I try
> to import it, e.g. "CUDA SETUP: Required library version not found:
> libbitsandbytes_cuda121_nocublaslt.so. Maybe you need to compile it
> from source?". In this case, `python setup.py develop` does not seem
> to work either.

Correction: `make` must be run manually to build bitsandbytes. I made
a mistake while testing. `make clean` doesn't work correctly, so I had
to use `git clean` to get repeatable results.


More information about the Python-list mailing list