Open backup1-technicise opened 7 years ago
~~(django_venv) user@user-Vostro-3550:~/code/Django-Sample/django_venv$ easy_install Django-piston Searching for Django-piston Reading https://pypi.python.org/simple/Django-piston/ Downloading https://pypi.python.org/packages/e6/dc/a634d7fa05c75eed113adbf4f63a75c01371714c30665035abc7e8ca027c/django-piston-0.2.3.tar.gz#md5=8b040d426793cf22ce89543e059cd6e1 Best match: django-piston 0.2.3 Processing django-piston-0.2.3.tar.gz Writing /tmp/easy_install-_Sa96U/django-piston-0.2.3/setup.cfg Running django-piston-0.2.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-_Sa96U/django-piston-0.2.3/egg-dist-tmp-oqruFR creating /home/user/code/Django-Sample/django_venv/lib/python2.7/site-packages/django_piston-0.2.3-py2.7.egg Extracting django_piston-0.2.3-py2.7.egg to /home/user/code/Django-Sample/django_venv/lib/python2.7/site-packages Adding django-piston 0.2.3 to easy-install.pth file Installed /home/user/code/Django-Sample/django_venv/lib/python2.7/site-packages/django_piston-0.2.3-py2.7.egg Processing dependencies for Django-piston Finished processing dependencies for Django-piston~~
user@user-VirtualBox:~/code/Django-Sample$ source django_venv/bin/activate
(django_venv) user@user-VirtualBox:~/code/Django-Sample$ pip install djangorestframework
Collecting djangorestframework
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f5caa9437d0>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/djangorestframework/
/home/user/code/Django-Sample/django_venv/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/home/user/code/Django-Sample/django_venv/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading djangorestframework-3.6.3-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 247kB/s
Installing collected packages: djangorestframework
Successfully installed djangorestframework-3.6.3
(django_venv) user@user-VirtualBox:~/code/Django-Sample$
Django Installation