{"action":"created","issue":{"url":"https://api.github.com/repos/pgexperts/flexible-freeze/issues/23","repository_url":"https://api.github.com/repos/pgexperts/flexible-freeze","labels_url":"https://api.github.com/repos/pgexperts/flexible-freeze/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/pgexperts/flexible-freeze/issues/23/comments","events_url":"https://api.github.com/repos/pgexperts/flexible-freeze/issues/23/events","html_url":"https://github.com/pgexperts/flexible-freeze/issues/23","id":133309312,"number":23,"title":"Does not appear to work with Python 2.6 on CentOS 6","user":{"login":"jersten","id":7646510,"avatar_url":"https://avatars.githubusercontent.com/u/7646510?v=3","gravatar_id":"","url":"https://api.github.com/users/jersten","html_url":"https://github.com/jersten","followers_url":"https://api.github.com/users/jersten/followers","following_url":"https://api.github.com/users/jersten/following{/other_user}","gists_url":"https://api.github.com/users/jersten/gists{/gist_id}","starred_url":"https://api.github.com/users/jersten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jersten/subscriptions","organizations_url":"https://api.github.com/users/jersten/orgs","repos_url":"https://api.github.com/users/jersten/repos","events_url":"https://api.github.com/users/jersten/events{/privacy}","received_events_url":"https://api.github.com/users/jersten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-12T18:20:40Z","updated_at":"2016-02-12T18:54:00Z","closed_at":null,"body":"I have the `postgresql94-server`, `postgresql94-devel`, `postgresql94-libs`, and `postgresql94` packages installed from the official PostgreSQL repo.\r\n\r\nI've tried to install the dependencies using: `pip install -r requirements.txt` and it fails with:\r\n\r\n```\r\nsudo pip install -r requirements.txt \r\nYou are using pip version 7.1.0, however version 8.0.2 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\nCollecting argparse==1.2.1 (from -r requirements.txt (line 1))\r\n/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.\r\n  InsecurePlatformWarning\r\n  Using cached argparse-1.2.1.tar.gz\r\nCollecting psycopg2==2.5.1 (from -r requirements.txt (line 2))\r\n  Using cached psycopg2-2.5.1.tar.gz\r\n    Complete output from command python setup.py egg_info:\r\n    running egg_info\r\n    creating pip-egg-info/psycopg2.egg-info\r\n    writing pip-egg-info/psycopg2.egg-info/PKG-INFO\r\n    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt\r\n    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt\r\n    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'\r\n    warning: manifest_maker: standard file '-c' not found\r\n    Error: pg_config executable not found.\r\n    \r\n    Please add the directory containing pg_config to the PATH\r\n    or specify the full executable path with the option:\r\n    \r\n        python setup.py build_ext --pg-config /path/to/pg_config build ...\r\n    \r\n    or with the pg_config option in 'setup.cfg'.\r\n    \r\n    ----------------------------------------\r\nCommand \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-NJv2UJ/psycopg2\r\n```\r\n\r\nI've tried updating the path to explicitly include `pg_config`: `export PATH=$PATH:/usr/pgsql-9.4/bin/` and even tried `alias pg_config=/usr/pgsql-9.4/bin/pg_config` to no avail.\r\n\r\nDoes this work with Python 2.6 on CentOS 6?"},"comment":{"url":"https://api.github.com/repos/pgexperts/flexible-freeze/issues/comments/183449060","html_url":"https://github.com/pgexperts/flexible-freeze/issues/23#issuecomment-183449060","issue_url":"https://api.github.com/repos/pgexperts/flexible-freeze/issues/23","id":183449060,"user":{"login":"jersten","id":7646510,"avatar_url":"https://avatars.githubusercontent.com/u/7646510?v=3","gravatar_id":"","url":"https://api.github.com/users/jersten","html_url":"https://github.com/jersten","followers_url":"https://api.github.com/users/jersten/followers","following_url":"https://api.github.com/users/jersten/following{/other_user}","gists_url":"https://api.github.com/users/jersten/gists{/gist_id}","starred_url":"https://api.github.com/users/jersten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jersten/subscriptions","organizations_url":"https://api.github.com/users/jersten/orgs","repos_url":"https://api.github.com/users/jersten/repos","events_url":"https://api.github.com/users/jersten/events{/privacy}","received_events_url":"https://api.github.com/users/jersten/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T18:54:00Z","updated_at":"2016-02-12T18:54:00Z","body":"Weird; that did it. "}}