Superset on Windows with MySQL or Postgres

1,021 views
Skip to first unread message

Gaurav gupta

unread,
Jul 5, 2017, 5:50:45 PM7/5/17
to d...@superset.incubator.apache.org, airbnb_...@googlegroups.com, Gaurav Gupta
Hi,

I would like to know if anybody has tried to setup/integrate the Superset in Windows OS with MySQL or Postgres. I am exploring to integrate/embed it my product for data visualisation which is available in Windows and Linux OS.

I know it will work in Linux but I am worried about the Windows OS, after reading below, so I would explore if some have already tried in windows without many issues. 

OS dependencies

Superset stores database connection information in its metadata database. For that purpose, we use the cryptography Python library to encrypt connection passwords. Unfortunately, this library has OS level dependencies.

Windows isn’t officially supported at this point, but if you want to attempt it, download get-pip.py, and run python get-pip.py which may need admin access. Then run the following:

C:\> pip install cryptography

# You may also have to create C:\Temp
C:\> md C:\Temp


Regards
Gaurav

Gaurav gupta

unread,
Jul 20, 2017, 10:43:20 PM7/20/17
to d...@superset.incubator.apache.org, airbnb_...@googlegroups.com, Gaurav Gupta
Please let me know if any body tried it in Windows or is there any suggestions to run superset in Windows smoothly.

Thanks

Maxime Beauchemin

unread,
Jul 21, 2017, 12:48:03 AM7/21/17
to Gaurav gupta, d...@superset.incubator.apache.org, airbnb_superset, Gaurav Gupta
People have tried and succeeded. Note that Gunicorn doesn't work on Windows so you'll have to use something else to productionize the Flask app. Also note that we don't run our continuous integration scripts against Windows at the moment so any new code could break support and we wouldn't know.

If someone felt passionate about Windows support and wanted to work in that direction we would welcome the PRs. So far no one has offered to work in that direction, it just kind of happen to work on Windows because Python does.

Max

--
You received this message because you are subscribed to the Google Groups "airbnb_superset" group.
To unsubscribe from this group and stop receiving emails from it, send an email to airbnb_superset+unsubscribe@googlegroups.com.
To post to this group, send email to airbnb_superset@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/airbnb_superset/CALZAj3JJDvoC0LWDYOz-E8kRUjGaw2izt_3RuZJOdrYNfbwmkA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages