{"action":"created","issue":{"url":"https://api.github.com/repos/transifex/transifex-client/issues/127","repository_url":"https://api.github.com/repos/transifex/transifex-client","labels_url":"https://api.github.com/repos/transifex/transifex-client/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/transifex/transifex-client/issues/127/comments","events_url":"https://api.github.com/repos/transifex/transifex-client/issues/127/events","html_url":"https://github.com/transifex/transifex-client/issues/127","id":163207347,"number":127,"title":"force tx to use python3 even if python2 is set as default","user":{"login":"Sopor-","id":5789283,"avatar_url":"https://avatars.githubusercontent.com/u/5789283?v=3","gravatar_id":"","url":"https://api.github.com/users/Sopor-","html_url":"https://github.com/Sopor-","followers_url":"https://api.github.com/users/Sopor-/followers","following_url":"https://api.github.com/users/Sopor-/following{/other_user}","gists_url":"https://api.github.com/users/Sopor-/gists{/gist_id}","starred_url":"https://api.github.com/users/Sopor-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sopor-/subscriptions","organizations_url":"https://api.github.com/users/Sopor-/orgs","repos_url":"https://api.github.com/users/Sopor-/repos","events_url":"https://api.github.com/users/Sopor-/events{/privacy}","received_events_url":"https://api.github.com/users/Sopor-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-30T16:23:54Z","updated_at":"2016-07-05T15:12:08Z","closed_at":null,"body":"It would be great if it was possible to force tx to use python 3 even if i have python 2 as default. Now when i run on python 2 i get this message:\r\n```\r\n/usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning. SNIMissingWarning\r\n/usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning\r\n/usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning\r\n```\r\nI then compile it with python3 but i can't have python3 as default. Why can't i run python3 as default? It makes other programs fail. So maybe you could add a command line switch that use python3 instead of python or maybe you have another solution?\r\nTo change python i run `update-alternatives --config python`."},"comment":{"url":"https://api.github.com/repos/transifex/transifex-client/issues/comments/230507853","html_url":"https://github.com/transifex/transifex-client/issues/127#issuecomment-230507853","issue_url":"https://api.github.com/repos/transifex/transifex-client/issues/127","id":230507853,"user":{"login":"kouk","id":456007,"avatar_url":"https://avatars.githubusercontent.com/u/456007?v=3","gravatar_id":"","url":"https://api.github.com/users/kouk","html_url":"https://github.com/kouk","followers_url":"https://api.github.com/users/kouk/followers","following_url":"https://api.github.com/users/kouk/following{/other_user}","gists_url":"https://api.github.com/users/kouk/gists{/gist_id}","starred_url":"https://api.github.com/users/kouk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kouk/subscriptions","organizations_url":"https://api.github.com/users/kouk/orgs","repos_url":"https://api.github.com/users/kouk/repos","events_url":"https://api.github.com/users/kouk/events{/privacy}","received_events_url":"https://api.github.com/users/kouk/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T15:12:08Z","updated_at":"2016-07-05T15:12:08Z","body":"@Sopor this error is caused by some missing libraries. Unfortunately we cannot directly depend on them because they aren't always available for every platform. If they are available for your platform you should be able to do:\r\n```\r\npip install \"urllib3[secure]\"\r\n```\r\nI believe that will make the error go away.\r\nFor more information check this [SO post](http://stackoverflow.com/questions/29099404/ssl-insecureplatform-error-when-using-requests-package)."}}
{"actor":{"display_login":"kouk"}}