superset安裝MySQL報錯:
(superset) [sarah@hadoop102 ~]$ conda install mysqlclient
Collecting package metadata (current_repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/noarch/current_repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
'https//repo.anaconda.com/pkgs/main/noarch'
解決辦法:
(superset) [sarah@hadoop102 ~]$ conda config --show-sources
==> /home/sarah/.condarc <==
auto_activate_base: False
刪掉/home/sarah/.condarc
(superset) [sarah@hadoop102 ~]$ rm -rf .condarc
再重新安裝
(superset) [sarah@hadoop102 ~]$ conda install mysqlclient
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 23.1.0
latest version: 23.3.1
Please update conda by running
$ conda update -n base -c defaults conda
Or to minimize the number of packages updated during conda update use
conda install conda=23.3.1