On Wednesday, March 22, 2017 at 4:00:00 PM UTC+1, Maxime Lefort wrote: > > Hi, > > It worked after running your code. Thanks a lot ! However, if I launch > python somewhere else than in OTB directory and without having runned your > lines, I get the same error message as before. > > How to make the otbenv.cmd actions permanent and for every directory ? >
for that you need update PYTHONPATH environment variable in your system. something like windows -> properties -> advanced -> environ varaibles on the "user" section check for PYTHONPATH if not exists add a new varaible and set it to the one which you get after otbenv.cmd btw, there is setx command. if you open otbenv.cmd and change set -> setx, it might work. I am not sure. you can test it > > But this is already a big improvement for me as I spend the day trying to > make it work with no success so far... Thanks . > Max > -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
