hidet-org/hidet

Google Colab: OSError: Can not find library in the following directory

egorsmkv opened this issue · 0 comments

Describe the bug

I am getting the following error in Google Colab:

---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
[<ipython-input-3-07b3c37279cb>](https://localhost:8080/#) in <cell line: 1>()
----> 1 import hidet

18 frames
[/usr/local/lib/python3.10/dist-packages/hidet/ffi/ffi.py](https://localhost:8080/#) in load_library()
     39         break
     40     if _LIB is None:
---> 41         raise OSError('Can not find library in the following directory: \n' + '\n'.join(library_dirs))
     42 
     43 

OSError: Can not find library in the following directory: 
/usr/local/lib/python3.10/dist-packages/hidet
/usr/local/lib/python3.10/dist-packages/hidet/lib
/usr/local/lib/python3.10/dist-packages
/usr/local/lib/python3.10/dist-packages/lib
/usr/local/lib/python3.10
/usr/local/lib/python3.10/lib
/usr/local/lib/python3.10/build/lib
/usr/local/lib/python3.10/build-release/lib
/usr/local/lib/python3.10/build-debug/lib

To Reproduce

run:

!pip install git+https://github.com/hidet-org/hidet

then run:

import hidet

Expected behavior

Normal importing of hidet