tkrajina / srtm.py

Geo elevation data parser for "The Shuttle Radar Topography Mission" data
Apache License 2.0
245 stars 57 forks source link

Python2 or Python3 #24

Closed andischan closed 6 years ago

andischan commented 7 years ago

I get this error:

  File "/usr/lib/python3.6/site-packages/srtm/data.py", line 29, in <module>
    import cStringIO as mod_cstringio

Is srtm.py a python2 package?

MaxyMoos commented 7 years ago

No problem using srtm.py with Python 3.5.2 over here. Python 3.6-specific error ?

andischan commented 7 years ago

SORRY: I haven't used the 0.3.2 version of srtmpy, which solved the problem.

andischan commented 7 years ago

Honestly I'm not using a dev system and don't want to downgrade. I'm running the demo.py script with Python 3.6 and it works perfect.