whitebox-tools icon indicating copy to clipboard operation
whitebox-tools copied to clipboard

[Errno 2] No such file or directory: './whitebox_tools'

Open mn5hk opened this issue 2 years ago • 0 comments

I try to run the vector to raster conversion (on my jupyter notebook) as prescribed here: https://www.whiteboxgeo.com/manual/wbt_book/available_tools/data_tools.html?highlight=convert%20vector#vectorpolygonstoraster

''' wbt.vector_polygons_to_raster( i, output, field="FID", nodata=True, cell_size=None, base=nc.var_name.as_numpy(), callback=default_callback ) '''

Firstly, it shows default_callback is not there

I run the code without the line as: ''' ''' wbt.vector_polygons_to_raster( i, output, field="FID", nodata=True, cell_size=None, base=nc.var_name.as_numpy(), ) ''' and I get the following error: [Errno 2] No such file or directory: './whitebox_tools'

What could the problem be?

mn5hk avatar Sep 16 '22 09:09 mn5hk