简体   繁体   中英

Unable to Install MySqlclient packages using pip

My System is Windows10 and has Installed with Python 3.7.1 and Anaconda3 in it.

pip version is: 18.1

Now I am trying to Install the Python MySQL Client Packages using the pip following command and getting the below Errors.

  1. pip install mysqlclient

Collecting mysqlclient
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by  'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000233D3E948D0>, 
'Connection to pypi.org timed out. (connect timeout=15)')': /simple/mysqlclient/

pip 安装错误信息

Since I am using this in my proxy Enabled machine I tried below command

  1. pip install --proxy=http://<servername>:8080/wpad.dat mysqlclient

which gives me an error asking to have Python >=3.5. Where I Already have 3.7.1 Installed.

在此处输入图像描述

Can anyone please help me what is the Issue.

Pip is deprecated try to use this more convenient command

python -m pip install {package}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM