{"action":"created","issue":{"url":"https://api.github.com/repos/mkleehammer/pyodbc/issues/36","labels_url":"https://api.github.com/repos/mkleehammer/pyodbc/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/mkleehammer/pyodbc/issues/36/comments","events_url":"https://api.github.com/repos/mkleehammer/pyodbc/issues/36/events","html_url":"https://github.com/mkleehammer/pyodbc/issues/36","id":70679631,"number":36,"title":"`pip install pyodbc` doesn't work (`--allow-external` is needed)","user":{"login":"bittner","id":665072,"avatar_url":"https://avatars.githubusercontent.com/u/665072?v=3","gravatar_id":"","url":"https://api.github.com/users/bittner","html_url":"https://github.com/bittner","followers_url":"https://api.github.com/users/bittner/followers","following_url":"https://api.github.com/users/bittner/following{/other_user}","gists_url":"https://api.github.com/users/bittner/gists{/gist_id}","starred_url":"https://api.github.com/users/bittner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bittner/subscriptions","organizations_url":"https://api.github.com/users/bittner/orgs","repos_url":"https://api.github.com/users/bittner/repos","events_url":"https://api.github.com/users/bittner/events{/privacy}","received_events_url":"https://api.github.com/users/bittner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-24T12:37:17Z","updated_at":"2015-04-28T08:22:09Z","closed_at":"2015-04-25T03:31:25Z","body":"Due to security requirements built-in into all newer pip versions a simple `pip install pyodbc` doesn't work anymore with a current version of pip. Example:\r\n```\r\n$ pip --version\r\npip 6.1.1 from /path/to/virtualenv/lib/python2.7/site-packages (python 2.7)\r\n$ pip install pyodbc\r\nCollecting pyodbc\r\n  Could not find a version that satisfies the requirement pyodbc (from versions: )\r\n  Some externally hosted files were ignored as access to them may be unreliable (use --allow-external pyodbc to allow).\r\n  No matching distribution found for pyodbc\r\n```\r\nIt is possible to make an installation work using some switches as follows, but this should not be necessary.\r\n```\r\n$ pip install -v --allow-external pyodbc --allow-unverified pyodbc pyodbc\r\n```\r\nThe python dist package needs to be uploaded to the PyPI server to fix this problem, using something like:\r\n```\r\n$ python ./setup.py sdist upload\r\n```\r\nThis is really a critical issue, not just a nice-to-have."},"comment":{"url":"https://api.github.com/repos/mkleehammer/pyodbc/issues/comments/96970931","html_url":"https://github.com/mkleehammer/pyodbc/issues/36#issuecomment-96970931","issue_url":"https://api.github.com/repos/mkleehammer/pyodbc/issues/36","id":96970931,"user":{"login":"bittner","id":665072,"avatar_url":"https://avatars.githubusercontent.com/u/665072?v=3","gravatar_id":"","url":"https://api.github.com/users/bittner","html_url":"https://github.com/bittner","followers_url":"https://api.github.com/users/bittner/followers","following_url":"https://api.github.com/users/bittner/following{/other_user}","gists_url":"https://api.github.com/users/bittner/gists{/gist_id}","starred_url":"https://api.github.com/users/bittner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bittner/subscriptions","organizations_url":"https://api.github.com/users/bittner/orgs","repos_url":"https://api.github.com/users/bittner/repos","events_url":"https://api.github.com/users/bittner/events{/privacy}","received_events_url":"https://api.github.com/users/bittner/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T08:22:09Z","updated_at":"2015-04-28T08:22:09Z","body":"Thank you, that's awesome! `pip install pyodbc` now works, it pulls the current package from PyPI.\r\n\r\nOn Ubuntu installing the `unixodbc-dev` package is required though:\r\n```\r\n$ sudo apt-get install unixodbc-dev\r\n```\r\nThis should be added to the documentation in the project Wiki ([Building](https://code.google.com/p/pyodbc/wiki/Building#Other), [FAQs](https://code.google.com/p/pyodbc/wiki/FAQs#Mac_OS/X)). Looks like the Wiki is now already read-only on Google Code.\r\n\r\nBTW, it looks like that package is only needed for compiling, then it can be uninstalled. Is there no way to make the install process not require the installation of a development package? Installing such a package is sometimes difficult to discuss with hosters."}}