Hello,

I am using Python 3.10.0 on OpenIndiana and yesterday I tried to install numpy 
in my system. The command

/opt/gnu/python/bin/python3.10  -m pip install --user numpy

failed and it it printed a long error report. The errors are of the form 

                    from numpy/core/src/umath/string_ufuncs.cpp:1:
      /usr/gcc/10/include/c++/10.4.0/cmath:1134:11: error: 'llrint' has not 
been declared in '::'
       1134 |   using ::llrint;
            |           ^~~~~~
First I have noticed that '<command-line>: warning: "__STDC_VERSION__" 
redefined' and after some experimentation
I realized that the extra option  -D__STDC_VERSION__=0 is actually the one that 
causes the problem. So my question is:
How can I disable this option? 

Regards,

Apostolos
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to