pip安装PDAL失败,缺少pdal-config

时间:2019-05-10 15:55:48

标签: python ubuntu virtualenv pdal

在虚拟环境中尝试通过PIP为python安装PDAL会导致配置错误。

我已经通过使用cmake和ninja构建PDAL来安装PDAL,并通过控制台和〜/ .bashrc导出将/ pdal / bin文件夹添加到环境路径中。我可以正常运行pdal命令,但是由于没有可用的pdal-config而试图运行“ pip install pdal”时收到错误。

使用: skipped_turn = False for i in computer_deck: if(i in one_cards and not skipped_turn): #Yellow card? print(i) skipped_turn = False break elif(i in red_cards): computer_play = i print(computer_play) computer_cards = computer_cards - 1 skipped_turn = False elif(computer_play in skip_cards): #Following the same if statements and not ran if the others are selected user_turn = computer_play #Assigning the user's turn '==' is for comparison print("My turn again: ") skipped_turn = True continue else: print("Draw") PDAL命令可从控制台运行

$ export PATH="$PATH:/PDAL-1.7.2-src/build/bin/"

错误:

sudo pip install pdal

0 个答案:

没有答案