Join GitHub today
import error from numpy #8415
File "rgbtoyuv.py", line 2, in
Platform ubuntu16.04 x86_64
python version: 3.5.2
numpy version:1.11.2 and try to version:1.9.0 also,but installed failed.
Please help me find the reason,thanks a lot.
Seems like a bug report to me?
Some clues as to what's going on here:
CPython has some optional code for catching SIGFPE and converting it into an exception. To use it, you wrap C-level floating point computations in
(It looks like you can check which sort of CPython you have by doing
Numpy itself doesn't use these macros. But Cython autogenerated code does use them.
Conclusion: if you compile a Cython module using a CPython that was built with
Quick checking of some common linux CPython builds to see which ones use
@kevinzhai80: Did you by some chance build numpy from source for some reason, using the Ubuntu-installed Python, and then try to import it from a conda-installed Python?
referenced this issue
Dec 24, 2016
Thanks njsmith. Also: Ubuntu 17.10 Artful no. Upgrading caused the error: