-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find libffi.so #16
Comments
Hey! Thanks for reporting this. I have not experienced this issue before. By any chance, are you using a Linux machine? |
@thiviyanT Yes, I'm on Ubuntu 22.04 LTS |
Thanks! It seems that this is a common problem for Linux users. Next week, I will dive a bit deeper into why this is happening. In the meantime, this solution seems to be promising: https://stackoverflow.com/a/63329830. You will need to install the library yourself. Please note that there is an extra step for Ubuntu 22.04. From the traceback, I can see that this error comes from the sacred python package. It is not a critical package for running the model; we used sacred for monitoring our ML experiments. Maybe I will remove it from the repository. |
Thanks for looking into this @thiviyanT ! Is it possible to install the 2019 version of |
@wouterbeek I agree that a system-wide installation may be catastrophic. I would also recommend doing it inside your virtual environment. After all, if you look at your trackback it says that the I have read more about this issue. Some have said that uninstalling and reinstalling Python has fixed this problem. Note that you need to do this inside your Python env. Another suggestion: This post says that Ubuntu 20.04 (and above) have upgraded libffi6 to libffi7, and Python is still looking libffi6. If you can locate |
Any luck @wouterbeek? |
Observed
When I run
classify_nodes.py
I get an error aboutlibffi.so
not being found:Expected
The shared library to be found by
classify_nodes.py
.The text was updated successfully, but these errors were encountered: