Open vignesh1987 opened 4 years ago
This is a problem with the SRTM package, unfortunately. It looks like, from the stack trace, they are not using Windows safe path objects (i.e., os.path.join(...)
or pathlib
)
A quick and dirty way to try to fix this is to open this file where you installed it (it is in the stack trace at ~\AppData\Local\Continuum\anaconda3\envs\myenv\lib\site-packages\srtm\main.py
) and change all the
'%s/%s' % (self.get_srtm_dir(), file_name)
to
mod_path.join(self.get_srtm_dir(), file_name)
If we want to be good citizens, one of us could send this as a pull request to the main project (https://github.com/tkrajina/srtm.py)
Hi , I tried the hack but it does not work. Gives me the same error. I understand your suggestion but strangely does not work. I will submit an issue at the SRTM page. Thanks for your help.
Hi, I am trying to test the ridge_map package. But I get a windows error when I try the first steps as described on the Github page
[WinError 53] The network path was not found: '\\\\.cache\\srtm'
The code I typed is
from ridge_map import RidgeMap RidgeMap().plot_map()