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

can't find '_main_' module in 'superset' #22918

Closed
zeynepkoyun opened this issue Jan 31, 2023 · 4 comments · Fixed by #22935
Closed

can't find '_main_' module in 'superset' #22918

zeynepkoyun opened this issue Jan 31, 2023 · 4 comments · Fixed by #22935
Assignees
Labels
#bug Bug report need:more-info Requires more information from author

Comments

@zeynepkoyun
Copy link

Hello @eschutho @craig-rueda @hughhhh @michael-s-molina
When I want to run the Superset project directly from the github project instead of installing it in virtualenv, I get the following error.
Error Description: can't find 'main' module in 'superset'

@zeynepkoyun zeynepkoyun added the #bug Bug report label Jan 31, 2023
@rusackas
Copy link
Member

Heya... curious about a few things here:

  1. Is there a reason not to use virtualenv? That's still one of the key steps to avoid python package issues when installing the project... even when it's straight from the github project as you mention.
  2. Is there anything in particular you're doing, procedurally, that we should be aware of to reproduce such an issue, other than skipping those instructions?
  3. Would the docker installation be more useful if you can't use a virtualenv for some reason?
  4. What kind of machine / OS / python version setup are you running?
  5. What version of Superset are you running?

I don't quite feel like we can call this a community bug until we know more.

@rusackas rusackas added the need:more-info Requires more information from author label Jan 31, 2023
@zeynepkoyun
Copy link
Author

Thanks for your answer. I'm working with python 3.8 on a windows machine and I want to install locally instead of docker. However, "gunicorn" used as an application server does not work for windows, can an alternative such as "waitress" be used instead?

@rusackas
Copy link
Member

Sounds like this is intrinsically tied with #22922 - I assume you're working together. Can we close one of these duplicate issues?

As I mentioned on the other thread, @Indows is not officially supported, but you can ask around in the #deploying-superset channel on Slack, or start a Q&A Discussion here on the repo look for anyone else attempting this.

@zeynepkoyun
Copy link
Author

Similar issue but I haven't tried running it with a different application server yet. I will follow up on this issue as well. For now, I'm looking at the installation process from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report need:more-info Requires more information from author
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants