Seems that the script is being run from the wrong place. Try to run it from the regular terminal. Remember to get higher privilege,or pip may fail.
If you have easy_install
installed try running: sudo easy_install pip
in your terminal and restarting PyCharm.
I see you are using an old version of Python (or at least have it installed). Try running pip3 install name_of_package
if you are looking to install through python 3.
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.