Whiteboxtools in AWS Sagemaker
geethaganji opened this issue · comments
I was able to install whiteboxtools in AWS Sagemaker notebook instance.
When I tried to execute commands:
import whitebox
wbt = whitebox.WhiteboxTools()
print(wbt.tool_help("ElevPercentile")) and
print(wbt.help())
There is no output printed.
Can anyone help me with how to use whiteboxtools and get results in AWS cloud. Thank you in advance.
I have not used AWS Sagemaker before, so I am not quite sure about the cause of this issue. Try the following code and see if the last line returns True.
import os
import whitebox
print(whitebox.__file__)
os.path.exists(os.path.join(os.path.dirname(whitebox.__file__), "whitebox_tools"))
This is very strange. I have no clue. Try downloading WhiteboxTools binary, unzip it, and see if you can run the binary from the command line.
https://www.whiteboxgeo.com/download-whiteboxtools
https://www.whiteboxgeo.com/manual/wbt_book/command_prompt.html
Closing this for now. Feel free to reopen if you are still experiencing issues.