Using conda install with a proxy may result in the following error:
ProxyError: Conda cannot proceed due to an error in your proxy configuration. Check for typos and other configuration errors in any ‘.netrc’ file in your home directory, any environment variables ending in ‘_PROXY’, and any other system-wide proxy configuration settings.
Solution:
Input the command:env | grep -i "_PROXY"
and here is the outcome:
HTTP_PROXY=http://http://localhost:8888/
https_proxy=http://http://localhost:8888/
http_proxy=http://http://localhost:8888/
no_proxy=localhost,127.0.0.0/8,::1
NO_PROXY=localhost,127.0.0.0/8,::1
HTTPS_PROXY=http://http://localhost:8888/
Then enter the command unset
to delete these agents:
unset https_proxy
unset http_proxy
unset no_proxy
unset HTTPS_PROXY
unset HTTP_PROXY
unset NO_PROXY
Then enter CONDA installation command to solve the problem successfully
Read More:
- [Solved] An unexpected error has occurred. Conda has prepared the above report.
- ERROR conda.core.link:_execute(699): An error occurred while installing package ‘‘Rolling back trans
- [Solved] Environment: failed conda all InvalidVersionSpecError: Invalid version spec: =2.7
- The upgrade of Ubuntu results in an error in the compilation of Android Jack [Two Method to Solve]
- [Solved] Ubuntu Error: Failed to connect to 127.0.0.1 port xxxxx: Connection refused
- Weblogic Deployment Error: The most likely cause is an error in the network configuration of this machine.
- [Solved] Any Softwares Install Error in Ubuntu: /usr/bin/dpkg returned an error code
- How to Solve labelme Install Error in Ubuntu
- Ubuntu found an error during apt operation [How to Solve]
- How to Solve Xmind Install Error in Ubuntu System
- Ubuntu sub process/usr/bin/dpkg returned an error code (1) solution
- [Solved] spdlog reports an error After updating Ubuntu 22.04
- Ubuntu: rabbitmq reports an error; Solution error: unable to connect to node rabbit@localhost : nodedown
- Nginx Reverse Proxy 426 Error [How to Fix]
- The solution of insufficient disk space of docker in Ubuntu
- How to Solve Mujoco Install Error in Ubuntu (Pycharm Run Error)
- Ubuntu20.04 install the ROS noetic version in catkin_Problems in make compilation
- Aliyunshield occupies port 80 error: Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
- [Solved] libgit2 returned: the index is locked; this might be due to a concurrent or crashed process
- mysqlclient in Ubuntu: How to Solve mysqlclient Install Error