python 库函数安装出现环境错误或安装权限的解决方法
When trying to install any packages on my computer using "pip install" i get returned the following errors:
ERROR: couldn't install packages due to an OSEerror: please check proxy url. It is malformed and could be missing the host.
ERROR: Could not install packages due to an EnvironmentError: Please check proxy URL. It is malformed and could be missing the host.
Solutions:
1. 在pip install 后面加上 --user.
2. set http_proxy=http://[username:password@]proxyserver:port