Step 1: Install the dependencies
sudo apt-get install build-dep python-psycopg2
Step 2: Run this command in your virtualenv
pip install psycopg2-binary
Ref: Fernando Munoz
More Related Contents:
- setup script exited with error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
- Two versions of python on linux. how to make 2.7 the default
- How to make Python script run as service?
- Unable to install pyodbc on Linux
- Upgrade python without breaking yum
- ffmpeg hangs when run in background
- Import Error: No module named django
- How to set Python3.5.2 as default Python version on CentOS?
- dictionary update sequence element #0 has length 3; 2 is required
- Filling Many2many field (odoo 8)
- Why is sudo not accepting my sudo password? [closed]
- Issues with a college assignment using Python
- Python 2.7.10: Using LAMBDA and LOGICAL operators in DICT to choose a case
- How to put the legend outside the plot in Matplotlib
- import module from string variable
- How can I run an external command asynchronously from Python?
- Alternative to dict comprehension prior to Python 2.7
- What is the fastest way to upload a big csv file in notebook to work with python pandas?
- Using pickle.dump – TypeError: must be str, not bytes
- How can I bind a list to a parameter in a custom query in SQLAlchemy?
- Easiest way to persist a data structure to a file in python?
- Matplotlib – adding subplots to a subplot?
- How to save an uploaded image to FastAPI using Python Imaging Library (PIL)?
- Get: TypeError: ‘dict_values’ object does not support indexing when using python 3.2.3 [duplicate]
- How to enable FIPS mode for libcrypto and libssl packaged with Python?
- Why do you need to create a cursor when querying a sqlite database?
- Is there a reason Python 3 enumerates slower than Python 2?
- Concatenating column vectors using numpy arrays
- Copied variable changes the original?
- How to keep tkinter button on same row as label and entry box