报错:
ERROR: Could not find a version that satisfies the requirement charest (from versions: none)
ERROR: No matching distribution found for charest
报错原因:在使用pip安装python相关包时,常常会由于网络问题,导致超时,下载失败。
解决办法:修改timeout加长download的下载时间,缓解超时的问题。 默认timeout:不指定timeout时15s。
解决步骤:
更新pip版本:
python.exe -m pip install --upgrade pip
修改默认时间装charest模块:
pip --default-timeout=100 install chardet