簡體   English   中英

Pdal安裝期間發生錯誤

[英]Error during Pdal installation

我正在使用以下命令在linux(ubuntu)中安裝Pdal庫: pip install pdal命令並出現以下錯誤:

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上受支持。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM