mapslicer icon indicating copy to clipboard operation
mapslicer copied to clipboard

Error: No module named main

Open feanara opened this issue 6 years ago • 2 comments

When I attempt to run mapslicer.py, i get the following error:

Traceback:
FILE "C:\Users\emily\Downloads\mapslicer-master\mapslicer.py", line 47, in <module>
   import mapslicer
FILE "C:\Users\emily\Downloads\mapslicer-master\mapslicer\__init__.py", line 3, in <module>
  from main import MainFrame
ModuleNotFoundError: No module named 'main'

feanara avatar Jan 22 '19 16:01 feanara

Can you please check whether you have a file mapslicer\main.py ? You're using the source exactly as it is here, and you're running from your mapslicer-master directory the command python mapslicer.py ? What are your versions of python, windows and gdal?

activityworkshop avatar May 25 '19 10:05 activityworkshop

You're probably not using python2.

sappjw avatar Feb 14 '20 13:02 sappjw