0、首先升级pip
python -m pip install --upgrade pip
1、 在win10上安装失败:pip install flet
ERROR: Could not find a version that satisfies the requirement flet (from versions: none)
ERROR: No matching distribution found for flet
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
2、通过百度解决办法:
pip install flet -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
Successfully installed beartype-0.10.4