worldbank / blackmarblepy

Georeferenced Rasters and Statistics of Nightlights from NASA Black Marble
https://worldbank.github.io/blackmarblepy/
Mozilla Public License 2.0
32 stars 7 forks source link

Windows 11 - NotADirectoryError : [WinError 267] The directory name is not valid #63

Open gotconae opened 9 months ago

gotconae commented 9 months ago

Bug Report

Description

I'm starting to use the library and trying the blackmarblepy.ipynb tutorial.

When I execute the line corresponding to r_20210205 = bm_raster() at the end of the file download, this error appears NotADirectoryError : [WinError 267] The directory name is not valid

Regarding the installation in both cases (From PyPI and From Source) the same error occurs.

Reproducibility

Screenshots / Error Messages (if applicable)

image

image

Environment

Additional Context

N/A

Possible Fix

N/A

TokyAxel commented 8 months ago

Get the same error on my windows 11. May be an access problem? I have to use Google Colab to bypass the issue.

ccollado7 commented 7 months ago

Get the same error on my windows 11. May be an access problem? I have to use Google Colab to bypass the issue.

Same. I use Google Colab to run my script.

g4brielvs commented 4 months ago

@gotconae Thank you for reporting this issue. It appears to be related to the creation of the temporary folder. Could you please try specifying output_directory as a local directory instead?