Skip to content

Instantly share code, notes, and snippets.

View hnhegde's full-sized avatar
🌴
Vacationing at work

Harsha N Hegde hnhegde

🌴
Vacationing at work
View GitHub Profile
@IamAdiSri
IamAdiSri / Python3, Pip3, Virtualenv and Virtualenvwrapper Setup
Last active May 9, 2022 22:08 — forked from evansneath/Python3 Virtualenv Setup
Setting up and using Python3, Pip3, Virtualenv (for Python3) and Virtualenvwrapper (for Python3)
First install pip for Python2. Download the get-pip.py file from https://bootstrap.pypa.io/get-pip.py
$ cd <download location>
$ sudo -H python ./get-pip.py
Installing pip also installs Python3
To run Python3
$ python3
Install pip3 by just executing the same file as in the step above, but this time using Python3
$ sudo -H python3 ./get-pip.py
@barseghyanartur
barseghyanartur / local_settings.py
Created July 1, 2015 11:42
django-pgpass-helper
from pgpass_helper import read_pgpass
DATABASES = {
'default': read_pgpass('zupr'),
}