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 multivec: Segmentation fault: 11 #2
Comments
Hello Yulia, Thank you for reaching out to me. I'm sorry that you've run into problems Which version of gcc are you using (gcc --version), and which version of Can you do the following, and give me the console output? $ cd multivec/python-wrapper Also, have you tried running bin/multivec-mono and bin/multivec-bi, without Thank you, Alexandre On Wed, Jun 1, 2016 at 4:21 PM, yuliagrishina notifications@github.com
|
Hi Alexandre, thanks for your quick reply. So I am using $ gcc --version I already changed python2 into python in python-wrapper/makefile, it did not solve the issue. I don't have gdb installed on mac, I will look it into later, but when I tried to import through ipython, i got the following output: In [1]: from multivec.so import BiModel ImportError: dlopen(/Users/Yulia/Documents/CL/Potsdam2016/multivec/python-wrapper/multivec.so, 2): Symbol not found: _PyCObject_Type Here I am trying it without the python wrapper and get a segfault again: thanks again! |
Hi Yulia, Did you do Also, that's weird that you get a different error with Could you try running those commands, and give me their output? (not sure they work on Mac OS) For A random guess: try changing |
Hi again,
yes, I tried both actually, they give the same output.
yes, exactly.
$ which python
oh here I see that default ipython is ipython3, so if I try
no, it actually contained one line. with --min-count 1 it worked!
did that and rebuild wrapper again, same result :( |
I also tried to compile it on my MacOS laptop machine (10.11.5 ) having a macports 2.3.4 installed. I was able to compile everything (only a unused pthread flag warning appeared). Using the macports python2.7 (!! not the built-in from Apple) I was able to train a bivec model and use it via python. |
Hi Simon, |
Hi,
after I installed multivec and python wrapper, I was trying to import multivec into python. however, it exits with Segmentation fault: 11
Any ideas what went wrong?
I am using MacOS 10.10.4.
thanks!
Yulia
The text was updated successfully, but these errors were encountered: