pip Missing dependencies for SOCKS support

When using linux with proxy, one may encounter error like this:

1
2
3
4
5
$ pip install -r requirements.txt 
ERROR: Could not install packages due to an OSError: Missing dependencies for SOCKS support.

WARNING: There was an error checking the latest version of pip.

This one line will solve the issue:

1
export all_proxy=''