ERROR: Could not find a version that satisfies the requirement pymysql (from versions: none) ERROR:

2285 단어 python3
pip 설치 pymysql 저장소 오류:
pip3 install pymysql
Collecting pymysql
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pymysql/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pymysql/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pymysql/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pymysql/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pymysql/
  ERROR: Could not find a version that satisfies the requirement pymysql (from versions: none)
ERROR: No matching distribution found for pymysql

pip를 사용하여 다른 모듈을 설치할 때 상술한 오류가 발생할 수 있습니다. 주요 원인은 네트워크의 문제입니다. 국내의 거울원을 사용하여 가속화해야 합니다. 예를 들어 콩잎원
따라서 명령을 사용할 수 있습니다.
pip install pymysql -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com


좋은 웹페이지 즐겨찾기