"error code 1" running "pip install -r requirements.txt"
user@PC:~/mastofeeds $ pip install -r requirements.txt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting Mastodon.py>=1.5.1 (from -r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/7c/80/f12b205fc529fff8e3245fe8e6cafb870f1783476449d3ea2a32b40928c5/Mastodon.py-1.5.1-py2.py3-none-any.whl Collecting psycopg2-binary>=2.8.4 (from -r requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/97/00/ed4c82364741031d745867f83820d4f373aa891098a5785841850491c9ba/psycopg2-binary-2.8.5.tar.gz Complete output from command python setup.py egg_info: running egg_info creating pip-egg-info/psycopg2_binary.egg-info writing pip-egg-info/psycopg2_binary.egg-info/PKG-INFO writing top-level names to pip-egg-info/psycopg2_binary.egg-info/top_level.txt writing dependency_links to pip-egg-info/psycopg2_binary.egg-info/dependency_links.txt writing manifest file 'pip-egg-info/psycopg2_binary.egg-info/SOURCES.txt' Error: You need to install postgresql-server-dev-NN for building a server-side extension or libpq-dev for building a client-side application.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-9_0XQj/psycopg2-binary/