Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: No module named main #23

Open
feanara opened this issue Jan 22, 2019 · 2 comments
Open

Error: No module named main #23

feanara opened this issue Jan 22, 2019 · 2 comments

Comments

@feanara
Copy link

feanara commented Jan 22, 2019

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
Copy link
Contributor

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
Copy link

sappjw commented Feb 14, 2020

You're probably not using python2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants