googlecolab / colabtools

Python libraries for Google Colaboratory
Apache License 2.0
2.19k stars 720 forks source link

Colab runtime not detecting shared library files appropriately #2595

Open s4ayub opened 2 years ago

s4ayub commented 2 years ago

Describe the current behavior

link: https://colab.research.google.com/drive/1NZ-3oZNzXds26bvtGLevdhg0GzMrmZNj?usp=sharing

Describe the expected behavior

What web browser you are using Chrome

s4ayub commented 2 years ago

I fixed the error by copying all lib files from /usr/local/lib to /usr/lib/

!cp /usr/local/lib/lib* /usr/lib/

Why is it necessary to do this? Is it possible to get the runtime to look for shared library objects in /usr/local/lib?

s4ayub commented 2 years ago

any updates on this?

mortal8321 commented 1 week ago

You can download and have the file in your system , then you can use it elsewhere.

from google.colab import files files.download('/content/model.so')