Skip to content
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 #35

Open
VincentAuguin opened this issue Jan 25, 2017 · 13 comments
Open

Import error #35

VincentAuguin opened this issue Jan 25, 2017 · 13 comments

Comments

@VincentAuguin
Copy link

Hi,

I get an import error ImportError: pycocotools/_mask.so: undefined symbol: PyFPE_jbuf when i try to run first block of pyCocoDemo.ipynb

I've already run make and no error occured.

Have you any lead ?

@tylin
Copy link
Collaborator

tylin commented Jan 25, 2017

A related discussion from stackoverflow: http://stackoverflow.com/questions/36190757/numpy-undefined-symbol-pyfpe-jbuf

@arunkumar-reddy
Copy link

I am getting this same error. It works just fine on my system but results in an error when i run it on a cloud system.

@xch20010
Copy link

Have you solved this error?

@spnaik
Copy link

spnaik commented Apr 16, 2018

I have the same error. How did you solve it ?

@ClassicDaniel
Copy link

For me, using the following fork did the trick:

https://github.com/philferriere/cocoapi.git

@DonghoonPark12
Copy link

Could someone give us a help? I have a same problem...

import pycocotools._mask as _mask
ImportError: /home/anaconda/PycharmProject/Self-DrivingCar/models/research/object_detection/coco/PythonAPI/pycocotools/_mask.cpython-35m-x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf

@hahakid
Copy link

hahakid commented Jul 8, 2018

@ClassicDaniel Yes, the trick is mkdir a subdir to apart the ipynb files from the coco source. There is no need to change a fork.

@baizhenmao95
Copy link

I had the same error. I solved it just now by delate the folder /py-fast-rcnn/lib/pycocotools; and pip install pycocotools.

@csufangyu
Copy link

csufangyu commented Oct 30, 2018

Could someone give us a help? I have a same problem...

import pycocotools._mask as _mask
ImportError: /home/anaconda/PycharmProject/Self-DrivingCar/models/research/object_detection/coco/PythonAPI/pycocotools/_mask.cpython-35m-x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf

I meet a same problem.but if I use python3,it would not meet it,could you solve it in python2?

@wangliting-amy
Copy link

i meet the same problem when i want to ues cocoeval. so i just do "python setup.py build_ext --inplace" and "python setup.py build_ext install" when i open new terminal do same commands again.it works for me.

@ou525
Copy link

ou525 commented Dec 12, 2018

Run the setup.py file to solve this problem

@stevenji
Copy link

stevenji commented Jan 1, 2019

Maybe you have multi python version, makesure you use the same version of python, and delete the .so in dir, then run the setup.py again.

@wangguanbei
Copy link

1.pip uninstall pycocotools
2.in cocoapi's git folder:
pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests