Ranalytictsnewb
Ranalytictsnewb

Reputation: 115

"pip install pymysql" syntax error for python 2.7.13

I'm lost trying to install this package. It looks like I have it, but I can't install?

Error Error

pip location

EDIT: I've tried running in cmd but I get another error cmd error

cmd error

Upvotes: 0

Views: 2552

Answers (1)

Harsha Biyani
Harsha Biyani

Reputation: 7268

You first have to go into the folder where pip.exe is present. In windows, it is in Scripts folder:

cd C:\Python27\Scripts
pip install <package>

Edit 1: You have to set the http and https proxys as:

set HTTP_PROXY=http://<<your_proxy>>:<<your_port>>
set HTTPS_PROXY=https://<<your_proxy>>:<<your_port>>

Upvotes: 1

Related Questions