Today, I met a netizen who told me that the installation failed when installing the pagoda panel. The message was "ModuleNotFoundError: No module named 'gevent'". Here we can see the error messages of these errors.
Btpip install gevent failed WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/gevent/ Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/gevent/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simple/gevent/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping ERROR: Could not find a version that satisfies the requirement gevent (from versions: none) ERROR: No matching distribution found for gevent
How can we solve these problems?
1. Check the mirror system
The pagoda panel is better compatible with the CENTOS system. It is recommended to choose the CENTOS7+system instead of the CENTOS8 or CENTOS6 system. If it is another system image, it is recommended to replace the image and reselect it.
2. Update the latest source file
Here we execute after the server logs in to SSH:
yum update -y
It doesn't matter if the upgrade source doesn't report an error. If there is an error, we need to replace the source.
3. Replace DNS
If it is still difficult to install, we can replace DNS. For example, 114 DNS is recommended in our country, and 8.8.8.8 is recommended in our country.