superset load_examples加載樣例報錯 :
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
好像不太影響superset的搭建
又執行了下superset load_examples
提示如下,已經加載了一部分,加載到San Francisco population polygons時候拒絕鏈接了
Loading examples metadata and related data into examples
Creating default CSS templates
Loading energy related dataset
Creating table [wb_health_population] reference
Loading [World Bank’s Health Nutrition and Population Stats]
Creating table [wb_health_population] reference
Creating slices
Creating a World's Health Bank dashboard
Loading [Birth names]
Creating some slices
Creating a dashboard
Loading [Unicode test data]
Creating table [unicode_test] reference
Creating a slice
Creating a dashboard
Loading [Random time series data]
Creating table [random_time_series] reference
Creating a slice
Loading [Random long/lat data]
Creating table reference
Creating a slice
Loading [Country Map data]
Creating table reference
Creating a slice
Loading [Multiformat time series]
Creating table [multiformat_time_series] reference
Creating Heatmap charts
Loading [Paris GeoJson]
Creating table paris_iris_mapping reference
Loading [San Francisco population polygons]
Traceback (most recent call last):
再次執行了下superset load_examples
提示如下,table sf_population_polygons加載成功了,到下一個樣例報錯拒絕訪問,所以個人猜測:可能是因爲訪問國外服務器不太穩定的原因,但是隻是缺少樣例圖表,應該不影響superset的使用
Loading examples metadata and related data into examples
Creating default CSS templates
Loading energy related dataset
Creating table [wb_health_population] reference
Loading [World Bank‘s Health Nutrition and Population Stats]
Creating table [wb_health_population] reference
Creating slices
Creating a World's Health Bank dashboard
Loading [Birth names]
Creating some slices
Creating a dashboard
Loading [Unicode test data]
Creating table [unicode_test] reference
Creating a slice
Creating a dashboard
Loading [Random time series data]
Creating table [random_time_series] reference
Creating a slice
Loading [Random long/lat data]
Creating table reference
Creating a slice
Loading [Country Map data]
Creating table reference
Creating a slice
Loading [Multiformat time series]
Creating table [multiformat_time_series] reference
Creating Heatmap charts
Loading [Paris GeoJson]
Creating table paris_iris_mapping reference
Loading [San Francisco population polygons]
Creating table sf_population_polygons reference
Loading [Flights data]
Traceback (most recent call last):
就當是未完全加載examples,只是樣例少了點兒,但是應該不影響後續執行,繼續
#初始化
superset init
#運行
superset run -p 8088 --with-threads --reload --debugger
如下圖:代表成功了,如果是在本地虛擬機上搭建的,直接訪問http://127.0.0.1:8088/
就可以看到炫酷的可視化圖表了,可惜我這是在阿里雲ESC服務器上,替換成公網IP還是不行,這個是我在之前用Django搭建自己博客時候遇到的問題,個人博客也是止步於此!
正常superset測試到這裏結束了
後續繼續解決訪問服務器的問題