

Problem: PermissionError: Access is denied

(Thanks to Anuj Varshney for suggesting this) C:\> py -m pip install -trusted-host pip pandas For more information, please see this post. You can add to the trusted host or specify an alternative SSL certificate. This is caused by your SSL certificate is unable to verify the host server.

Problem: connection error: certificate verify failed Now you can run the following command as expected. C:\> py -m pip install pandas %= one of Python on the system =%Ĭ:\> py -2 -m pip install pandas %= one of Python 2 on the system =%Ĭ:\> py -2.7 -m pip install pandas %= only for Python 2.7 =%Ĭ:\> py -3 -m pip install pandas %= one of Python 3 on the system =%Ĭ:\> py -3.6 -m pip install pandas %= only for Python 3.6 =%Īlternatively, in order to get pip to work without py -m part, you will need to add pip to the PATH environment variable. Then you have the option to specify a general or specific version number after the py command. Since both pip nor python commands are not installed along Python in Windows, you will need to use the Windows alternative py, which is included by default when you installed Python.
