Reputation: 635
I am learning to use flask for python web framework, however, when I try to sudo easy_install virtualenv
, I get an error:
[Errno 97] Address family not supported by protocol
how to solve this? My linux is CentOS release 4.3 (Final) and python version is 2.7.3
Upvotes: 0
Views: 1242
Reputation: 10305
You can install it from source package...
$ curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-X.X.tar.gz
$ tar xvfz virtualenv-X.X.tar.gz
$ cd virtualenv-X.X
$ [sudo] python setup.py install
Upvotes: 1