-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Import error GLIBCXX_3.4.21 not found when importing numbuf. #131
Comments
IMO it's always better to assume no one will read the instructions. :) |
Good point. Feels a bit hacky, but we could edit try:
from numbuf.libnumbuf import *
except ImportError as e:
if "GLIBCXX" in str(e):
raise ImportError("SOME ERROR MESSAGE... Try running `conda install libgcc`.") |
That'd probably work. But always print the original error message too; don't suppress it. |
Agreed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I followed the installation instructions on a fresh Ubuntu VM using Anaconda with Python 3 (though I am pretty sure I have seen this error with Python 2 as well).
Ray builds and installs fine. However, if I try to run
runtest.py
(or simply import numbuf), I get the following error.I followed one of the solutions here http://askubuntu.com/questions/575505/glibcxx-3-4-20-not-found-how-to-fix-this-error, which suggested running the following.
That fixed the problem.
Should we specifically look for this error and print something more helpful? Or should we change the installation instructions to mention this potential problem?
The text was updated successfully, but these errors were encountered: