Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *** error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
- $ which python
- /cygdrive/c/Python27/python
- $ pip install
- Downloading/unpacking django from https://pypi.python.org/packages/any/D/Dj....
- ctl^c
- virtualenv --version
- 1.11.4
- $ virtualenv testenv
- New python executable in testenvScriptspython.exe
- Installing setuptools, pip...done.
- $ source testenv/Scripts/activate
- (testenv)$ which python
- /cygdrive/c/proj/testenv/Scripts/python
- (testenv)$ which pip
- /cygdrive/c/proj/testenv/Scripts/pip
- (testenv)$ pip --version
- pip 1.5.4 from C:projtestenvlibsite-packages (python 2.7)
- (testenv)$ pip install django
- Cannot fetch index base URL https://pypi.python.org/simple/
- (testenv)$ pip install django
- res=getaddrinfo(host, port, 0, SOCK_STREAM)
- res
- >>> [(2, 1, 0, '', ('103.245.222.184', 443))]
- af, socktype, proto, canonname, sa = res[0]
- sock = socket(af, socktype, proto)
- sock
- >>> <socket._socketobject object at 0x020505E0>
- sock.connect(sa)
- *** error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement