gpt4 book ai didi

Install orfeo toolbox in python3.7(在python3.7中安装Orfeo工具箱)

转载 作者:bug小助手 更新时间:2023-10-26 20:02:02 32 4
gpt4 key购买 nike



I want to orthorectify some images taken by drones using python and wherever I have looked, otb seems to be the only sensible option. But unfortunately I haven't been able to install it on my python to run.

我想用蟒蛇纠正无人机拍摄的一些图像,无论我往哪里看,OTB似乎是唯一明智的选择。但不幸的是,我还没能把它安装在我的Python上运行。


What I did was:

我所做的是:



  1. Downloaded official otb package for windows

  2. Created virtual env in pycharm for python 3.7

  3. Went to directory of otb through pycharm terminal and typed otbenv.bat

  4. But this does nothing for me,
    https://i.stack.imgur.com/g1Ck7.png


I know I am missing something painfully obvious so please help me.

我知道我错过了一些非常明显的东西,所以请帮帮我。


更多回答

have you tried running it as an admin?

您尝试过以管理员身份运行它吗?

Yes and that results in the same error as well. For reference, I have followed this article simonwrigley.medium.com/…

是的,这也会导致相同的错误。作为参考,我关注了这篇文章simonwrigley.medium.com/…

优秀答案推荐

After binding, Start python and check python version to double check in virtual env prompt.

绑定完成后,启动PYTHON,检查PYTHON版本,在虚拟环境提示符中再次检查。


python

Then

然后


import otbApplication as otb

with this prompt you can use otb in python

在此提示下,您可以在Python中使用OTB


更多回答

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com