-
Notifications
You must be signed in to change notification settings - Fork 10
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
python could not load uberseg #10
Comments
Was that the entire message? |
Unfortunately that was the entire message. It did import though. Just installed it. Will be trying to use it in the next few days. Sent from my mobile.
|
@beckermr any idea why your C extension didn't import? |
This message was put in by design. I wrote the code so that if the C extension failed to import, it would revert back to the python version. (This is for stability since the meds code should almost never fail.) See the code here at line 26 of meds.py try:
from . import _uberseg
_have_c_ubserseg=True
except ImportError:
print("could not load fast ubserseg")
_have_c_ubserseg=False In order to diagnose this, please send the following.
|
I have also been running into this issue. I am working with both python 2 and python 3 builds. With python 2 I have no issues, but with python 3 (3.7.4) I get the "could not load fast ubserseg" message. Looking deeper I see that the library is named _uberseg.cpython-37m-x86_64-linux-gnu.so rather than _ubserseg.so. If I correct the name I get an import error: From some brief googling it looks like there are some differences in the way external python modules are coded between python2 and 3. |
python version:
Python 2.7.10 |Anaconda 2.0.1 (x86_64)| (default, May 28 2015, 17:04:42)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
os: mavericks
The text was updated successfully, but these errors were encountered: