Install Superset 0.37 on Windows

Superset is an open source “modern enterprise BI (business intelligence) Web application” from Airbnb that provides lightweight data query and visualization solutions for data analytics by creating and sharing dashboards.

Windows system under the installation of superset is similar, this article through the Win10 system to demonstrate the entire installation process.

Win10 install Python 3.7

download

For Python’s official website, go to www.python.org/

Click on Downloads on the Python website, then click on Windows in the drop down menu to go to the version selection page

Go to the version selection page. You can see the latest version of Python3 and the latest version of Python2 at the top. Click Python3.7.3 here to go to the download page After entering the download page, scroll down to find “Files”, which lists the installation packages or related Files of Python3.7.3 for different operating systems. We installed in Windows10, select the corresponding installation package to download, click download, and wait for a while to download

The installation

Cut the downloaded Python3.7.3 installation package to your desktop (you can do it without the desktop, but it’s more convenient), double-click to open it, check both boxes below, and click Customize installation to proceed to the next step

All options are checked by default. Leave the default and click Next to proceed to the Next step

Check Install for all Users and keep the other options as default. The default installation path below is C:\Program Files\Python37. You can click Browse to select an installation directory according to your requirements, but it is best not to include Chinese in the directory name.

If drive C has a lot of space, you can leave it unchanged, or if you have a solid state drive, you can choose to install Python3.7.3 on a solid state drive.

After confirming the installation location, click Install to Install

Now Python3.7.3 is being installed, and you can see that the progress bar is reading. You don’t need to do anything

When the progress bar is complete, the following menu is displayed indicating that Python3.7.3 has been installed successfully. Now click Close and Python3.7.3 has been installed successfully

validation

After installing Python3.7.3, the environment variables are automatically configured for us (very easy), and we use python commands directly from the command line to enter the Python3.7.3 interface.

Press Win+R to enter the running interface, enter CMD to enter the Windows command line, enter python37 to enter the Python3.7.3 command line mode,(enter a = 1, then enter a, console output 1) the test is successful, it indicates that Python3.7.3 is installed successfully

Win10 installation superset

Update SupserSet version 0.37

Start by typing on the command line

pip list
Copy the code

The superset version in the PIP library is 0.36, and PIP needs to be upgraded

Update PIP Update Superset



pip install --upgrade pip

pip install --upgrade apache-superset
Copy the code

To start the update

It takes some time for the update to complete

The installation

Start installing superset

Note that apache-superset is not superset

pip install apache-superset
Copy the code

Success!!!!!

Record the superset installation location and go to this directory

Initialize the

Python superset DB upgradeCopy the code

The package is missing and initialization failed

For example, flask_migrate is missing

We will

pip install flask_migrate
Copy the code

Creating an Administrator Account

python superset fab create-admin
Copy the code

Prompt for user name and password

Load_examples can also be a bit slow to load the case dataCopy the code

Python superset initCopy the code

-p python superset run -p python superset run -p python superset runCopy the code

Success!!!!!

Browser visit http://localhost:5000/

Log in with the username and password you just set

Try the new features of 0.37

Flink, Kafka and other real-time big data analysis related technology blog posts, scientific and technological news, welcome to pay attention to real-time streaming computing public account back to “ebook” download 300 pages of Flink practical ebook