{"action":"closed","issue":{"url":"https://api.github.com/repos/nose-devs/nose/issues/973","labels_url":"https://api.github.com/repos/nose-devs/nose/issues/973/labels{/name}","comments_url":"https://api.github.com/repos/nose-devs/nose/issues/973/comments","events_url":"https://api.github.com/repos/nose-devs/nose/issues/973/events","html_url":"https://github.com/nose-devs/nose/issues/973","id":117698375,"number":973,"title":"nosetest does not honour virtual environments","user":{"login":"raffienficiaud","id":6357107,"avatar_url":"https://avatars.githubusercontent.com/u/6357107?v=3","gravatar_id":"","url":"https://api.github.com/users/raffienficiaud","html_url":"https://github.com/raffienficiaud","followers_url":"https://api.github.com/users/raffienficiaud/followers","following_url":"https://api.github.com/users/raffienficiaud/following{/other_user}","gists_url":"https://api.github.com/users/raffienficiaud/gists{/gist_id}","starred_url":"https://api.github.com/users/raffienficiaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffienficiaud/subscriptions","organizations_url":"https://api.github.com/users/raffienficiaud/orgs","repos_url":"https://api.github.com/users/raffienficiaud/repos","events_url":"https://api.github.com/users/raffienficiaud/events{/privacy}","received_events_url":"https://api.github.com/users/raffienficiaud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-18T22:37:42Z","updated_at":"2015-11-20T00:41:23Z","closed_at":"2015-11-20T00:41:23Z","body":"Suppose I just installed a virtualenv and some packages inside it\r\n\r\n```\r\nvirtualenv myenv\r\n. myenv/bin/activate\r\npip install nose \r\npip install chumpy\r\n```\r\n\r\nand I have a `test_case.py` that looks like\r\n\r\n```\r\nimport chumpy\r\nimport unittest\r\n\r\nclass TestKinematicTree(unittest.TestCase):\r\n    pass\r\n```\r\n\r\nwhen I run `nosetests test_case.py` (from the virtualenv) I have \r\n```\r\n======================================================================\r\nERROR: Failure: ImportError (No module named chumpy)                  \r\n----------------------------------------------------------------------\r\n```\r\n\r\nHowever, if I do \r\n```\r\npython -c \"import nose; nose.main()\"\r\n```\r\n\r\nit works without any problem (it works without any problem with `python -m unittest discover ...` as well). I tried with several `nosetests` options without any success. Any hint?\r\n\r\nThanks!\r\n"}}