{"action":"created","issue":{"url":"https://api.github.com/repos/tox-dev/tox/issues/390","repository_url":"https://api.github.com/repos/tox-dev/tox","labels_url":"https://api.github.com/repos/tox-dev/tox/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/tox-dev/tox/issues/390/comments","events_url":"https://api.github.com/repos/tox-dev/tox/issues/390/events","html_url":"https://github.com/tox-dev/tox/issues/390","id":185533469,"number":390,"title":"Unable to access system packages","user":{"login":"chrisspen","id":116631,"avatar_url":"https://avatars.githubusercontent.com/u/116631?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisspen","html_url":"https://github.com/chrisspen","followers_url":"https://api.github.com/users/chrisspen/followers","following_url":"https://api.github.com/users/chrisspen/following{/other_user}","gists_url":"https://api.github.com/users/chrisspen/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisspen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisspen/subscriptions","organizations_url":"https://api.github.com/users/chrisspen/orgs","repos_url":"https://api.github.com/users/chrisspen/repos","events_url":"https://api.github.com/users/chrisspen/events{/privacy}","received_events_url":"https://api.github.com/users/chrisspen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-26T23:04:33Z","updated_at":"2016-10-27T18:42:44Z","closed_at":null,"body":"I'm using tox from inside a Travis-CI vm to run some unittests. However, even with the `sitepackages = True` in my `[testenv]` section, as [outlined in the docs](http://tox.readthedocs.io/en/latest/config.html#confval-sitepackages=True|False), the unittests fail, complaining that they can't import packages that are installed via `apt-get` into Python global site-packages.\r\n\r\nI've confirmed the version of Tox installed within Travis is the current 2.4.1.\r\n\r\nAm I using Tox incorrectly, or is this a bug in Tox/Travis or elsewhere?\r\n\r\n[This](https://github.com/chrisspen/reinforce/blob/master/tox.ini) is my tox config.\r\n\r\nSee the full error message [here](https://travis-ci.org/chrisspen/reinforce)."},"comment":{"url":"https://api.github.com/repos/tox-dev/tox/issues/comments/256733123","html_url":"https://github.com/tox-dev/tox/issues/390#issuecomment-256733123","issue_url":"https://api.github.com/repos/tox-dev/tox/issues/390","id":256733123,"user":{"login":"chrisspen","id":116631,"avatar_url":"https://avatars.githubusercontent.com/u/116631?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisspen","html_url":"https://github.com/chrisspen","followers_url":"https://api.github.com/users/chrisspen/followers","following_url":"https://api.github.com/users/chrisspen/following{/other_user}","gists_url":"https://api.github.com/users/chrisspen/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisspen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisspen/subscriptions","organizations_url":"https://api.github.com/users/chrisspen/orgs","repos_url":"https://api.github.com/users/chrisspen/repos","events_url":"https://api.github.com/users/chrisspen/events{/privacy}","received_events_url":"https://api.github.com/users/chrisspen/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T18:42:44Z","updated_at":"2016-10-27T18:42:44Z","body":"@The-Compiler \r\n\r\n    $ which tox\r\n    /home/travis/virtualenv/python2.7.12/bin/tox\r\n\r\n    $ python -c \"import matplotlib\"\r\n\r\n    Traceback (most recent call last):\r\n\r\n      File \"<string>\", line 1, in <module>\r\n\r\n    ImportError: No module named matplotlib"}}
{"actor":{"display_login":"chrisspen"}}