'Superset load_examles failed

I execute the following command as part of the superset installation process:

superset load_examples

But it results to error as follows:

Loading examples metadata and related data into examples

Creating default CSS templates

Loading energy related dataset

Traceback (most recent call last):

...

TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

...

urllib.error.URLError: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>



Solution 1:[1]

Based on the error message, it seems like the computer running Superset can't access the broader internet. I believe downloading the datasets to load the example dashboards needs internet access.

Solution 2:[2]

Since the path of superset examples is in github's apache-superset ,it is easy to fail to download due to network problems.The best way is to download examples zip directly from github, modify the read path of superset examples, and then load examples directly from the local path,it works.

Please entre link and follow the video youtube video

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Srini Kadamati
Solution 2 HuaQi