geopython / mapslicer

MapSlicer is a graphical application for online map publishing.
https://wiki.osgeo.org/wiki/MapSlicer
Other
43 stars 15 forks source link

Error: No module named main #23

Open feanara opened 5 years ago

feanara commented 5 years ago

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'
activityworkshop commented 5 years ago

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?

sappjw commented 4 years ago

You're probably not using python2.