我在linux(ubuntu)中使用:pip install pdal
命令安装Pdal library,得到以下错误:
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1777:0,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
from pdal/libpdalpython.cpp:487:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
pdal/libpdalpython.cpp:489:32: **fatal error:** pdal/plang/Array.hpp: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
我搜索了这个错误的解决方案,但没有得到任何相关的信息。在
也许对您来说一个可行的解决方案(当您第一次提出要求时,这是不可用的)是通过Conda而不是pip安装。有关详细信息,请参见https://pdal.io/download.html#conda。我们的Conda包将同时安装PDAL和Python扩展,并在Linux、Windows和Mac上受支持。在
相关问题 更多 >
编程相关推荐