-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Segmentation Fault: 11 - OSX high sierra - please Help #6019
Comments
I met this problem too, I trying several method to fix the problem, but failed. Who can help me, thank you so very much. The lldb debug information are as flows: (boost version: 1.65.1) (lldb) target create "python3"
|
Same here, this is not just for OS X. It also happens in Linux Conda + Caffe |
Same here, anyone has found a solution? I'm on Python 3.7 in a conda environment (Mac OS X 10.13.6) |
You can try ipython, it has a dynamic loader that solves the failed dynamic linking |
I remember the cause is related to the boost python library |
Hmmm it's weird. Everything works well on Anaconda's Python 2.7, only get |
FYI, after a lot of tinkering, I was able to compile Caffe in Python 3 without getting the traditional segmentation fault!! 🎉 |
@Dinuz same with you . did you solved ? |
I did’t solved the problem, now I using pytorch.
… 2020年5月8日 00:23,huihuili2019 ***@***.***> 写道:
@Dinuz <https://github.com/Dinuz> same with you . did you solved ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#6019 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAYOHAO3YH7FJXXW3KIFNTDRQLN7FANCNFSM4EBXC5GA>.
|
I probably found the cause of this problem! Under the same thirdparty conditions, change the
Although the question has been raised for a long time, I still hope to help others.
|
Hello guys, please help me in understanding what is going on and why. Are 3 days that I am trying desperately to let this work without success.
Please help me!
Thank you so very much.
Issue summary
After complete successfully the caffe installation (No difference using make or cmake), make all, make test and make runtest without any error(all test passed); I launched python in a shell, and called import caffe and I got segmentation fault 11.
I run all in an anaconda environment with python 3.6.3 and all the requirements installed by conda in the environment.
I use brew to install proto boost and boost-python (—with-python3 —without-python -built-from-source) and cv2 and all the other dependence (as in the installation notes).
The installation is only_cpu . The python path is set as the anaconda envs path (cmakecahe).
Everything works fine except the import caffe in python, that gives segmentation fault 11.
Steps to reproduce
Finish the make runtest, run make pycaffe, export caffe/python path, run python shell, run import caffe
If you are having difficulty building Caffe or training a model, please ask the caffe-users mailing list. If you are reporting a build error that seems to be due to a bug in Caffe, please attach your build configuration (either Makefile.config or CMakeCache.txt) and the output of the make (or cmake) command.
Your system configuration
Operating system: osx high Sierra 10.13
Compiler:
CUDA version (if applicable):
CUDNN version (if applicable):
BLAS:
Python or MATLAB version (for pycaffe and matcaffe respectively): python 3.6.3 coming with anaconda
The text was updated successfully, but these errors were encountered: