-
Notifications
You must be signed in to change notification settings - Fork 584
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
Not able to compile the cython library. #382
Comments
Can you try removing all of the files that are not .py, .pyx, or .pxd from the library and recompile? Also, potentially try running |
Did this work out? |
It seems that deleting init.py works! |
Well, how do you build a cython package that requires an init.py if you have to delete it!!! This is driving me nuts. |
it also doesn't compile if |
@enjoysmath @timonviola Essentially, you can keep the
instead of
|
Thanks for the comments. I'm currently in the process of rewriting pomegranate using a PyTorch backend so hopefully that will resolve all these issues. |
Hi, hope you can help me, I am really desperate. I need to make some modification to the forward algorithm and compile my custom version of pomegranate. When i run setup.py with the command "python3 setup.py build_ext --inplace". I receive the following error:
/usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.5/pomegranateplus/utils.o -o build/lib.macosx-10.6-intel-3.5/POWERSPOTTING/codes/pomegranateplus/utils.cpython-35m-darwin.so
copying build/lib.macosx-10.6-intel-3.5/POWERSPOTTING/codes/pomegranateplus/BayesClassifier.cpython-35m-darwin.so -> POWERSPOTTING/codes/pomegranateplus
error: could not create 'POWERSPOTTING/codes/pomegranateplus/BayesClassifier.cpython-35m-darwin.so': No such file or directory
Do you have any suggestions what to do? My machine is a Mac with Sierra 10.12.6 and python 3.
Thanks in advance
The text was updated successfully, but these errors were encountered: