作者johnjohnlin ()
看板C_and_CPP
标题Re: [问题] 'numpy/arrayobject.h' file not found
时间Tue Aug 13 22:01:36 2019
这个 header 是 Numpy include 的档案
就我所知找这个路径最简单(自动化)的方式是用 numpy.get_include
例如在我的系统上在 terminal 打这个指令
python -c "from numpy import get_include as G; print(G())"
/usr/lib/python3.7/site-packages/numpy/core/include
以上
--
Time waits for no one.
↑
(。A。)ハァ
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 1.162.164.141 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/C_and_CPP/M.1565704899.A.DDE.html
1F:推 Philethan: 谢谢大大用心回覆! 08/14 01:39