mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #103] Issue with psycopg2 install on upgrade #69
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stevenmcastano on GitHub (Dec 6, 2016).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/103
I tried to do a "git pull" and do an upgrade today, which I finally managed to get working, but I'm getting this error when trying to do a "pip install -r requirements.txt":
Just to make sure all the details are in here this is:
python v2.7.6
pip 9.0.1
ubuntu 14.04.5 (kernel 3.13.0.103-generic)
I was able to comment out that package from the requirements.txt and get through the install and do the migration and things are back up and running again. I'm just wondering what's missing and what I can do to resolve it?
@cuu508 commented on GitHub (Dec 13, 2016):
psycopg2 is the Python library for accessing PostgreSQL database. If you're using MySQL or MariaDB then you don't need it -- you can indeed safely comment it out and it will not affect anything.
On Ubuntu you can install psycopg2 system-wide with
apt-get install python-psycopg2orapt-get install python3-psycopg2. If you install with pip inside a virtualenv, you need to have a few -dev packages --apt-get install build-essential libpq-dev(IIRC)@stevenmcastano commented on GitHub (Dec 13, 2016):
Ah ok, that makes sense. As long as it’s not buried in the code somewhere where it will cause a problem, I’ll just leave it commented out as I am using MariaDB.
Thanks!