{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4442","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4442/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4442/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4442/events","html_url":"https://github.com/scikit-learn/scikit-learn/issues/4442","id":63983268,"number":4442,"title":"Test failing after new install Ubuntu 14.04 and Scikit learn dev 17+","user":{"login":"dartdog","id":87834,"avatar_url":"https://avatars.githubusercontent.com/u/87834?v=3","gravatar_id":"","url":"https://api.github.com/users/dartdog","html_url":"https://github.com/dartdog","followers_url":"https://api.github.com/users/dartdog/followers","following_url":"https://api.github.com/users/dartdog/following{/other_user}","gists_url":"https://api.github.com/users/dartdog/gists{/gist_id}","starred_url":"https://api.github.com/users/dartdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dartdog/subscriptions","organizations_url":"https://api.github.com/users/dartdog/orgs","repos_url":"https://api.github.com/users/dartdog/repos","events_url":"https://api.github.com/users/dartdog/events{/privacy}","received_events_url":"https://api.github.com/users/dartdog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Easy","name":"Easy","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/milestones/12","html_url":"https://github.com/scikit-learn/scikit-learn/milestones/0.16","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/milestones/12/labels","id":527004,"number":12,"title":"0.16","description":"","creator":{"login":"GaelVaroquaux","id":208217,"avatar_url":"https://avatars.githubusercontent.com/u/208217?v=3","gravatar_id":"","url":"https://api.github.com/users/GaelVaroquaux","html_url":"https://github.com/GaelVaroquaux","followers_url":"https://api.github.com/users/GaelVaroquaux/followers","following_url":"https://api.github.com/users/GaelVaroquaux/following{/other_user}","gists_url":"https://api.github.com/users/GaelVaroquaux/gists{/gist_id}","starred_url":"https://api.github.com/users/GaelVaroquaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaelVaroquaux/subscriptions","organizations_url":"https://api.github.com/users/GaelVaroquaux/orgs","repos_url":"https://api.github.com/users/GaelVaroquaux/repos","events_url":"https://api.github.com/users/GaelVaroquaux/events{/privacy}","received_events_url":"https://api.github.com/users/GaelVaroquaux/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":131,"state":"open","created_at":"2014-01-05T21:19:20Z","updated_at":"2015-03-26T14:32:57Z","due_on":"2015-03-15T04:00:00Z","closed_at":null},"comments":15,"created_at":"2015-03-24T12:22:31Z","updated_at":"2015-03-26T14:32:57Z","closed_at":"2015-03-26T14:32:57Z","body":"After some issues from a prior install which I finally removed the folders from dist packages and ran make  from the cloned repo I get the following which I see had been an issue prior but it seems that my python-joblib is up to date?\r\n\r\n```\r\n======================================================================\r\nERROR: sklearn.datasets.tests.test_lfw.test_load_fake_lfw_people\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/tom/scikit-learn/sklearn/datasets/tests/test_lfw.py\", line 120, in test_load_fake_lfw_people\r\n    min_faces_per_person=3)\r\n  File \"/home/tom/scikit-learn/sklearn/datasets/lfw.py\", line 370, in load_lfw_people\r\n    return fetch_lfw_people(download_if_missing=download_if_missing, **kwargs)\r\n  File \"/home/tom/scikit-learn/sklearn/datasets/lfw.py\", line 301, in fetch_lfw_people\r\n    min_faces_per_person=min_faces_per_person, color=color, slice_=slice_)\r\n  File \"/home/tom/scikit-learn/sklearn/externals/joblib/memory.py\", line 481, in __call__\r\n    return self._cached_call(args, kwargs)[0]\r\n  File \"/home/tom/scikit-learn/sklearn/externals/joblib/memory.py\", line 428, in _cached_call\r\n    out, metadata = self.call(*args, **kwargs)\r\n  File \"/home/tom/scikit-learn/sklearn/externals/joblib/memory.py\", line 673, in call\r\n    output = self.func(*args, **kwargs)\r\n  File \"/home/tom/scikit-learn/sklearn/datasets/lfw.py\", line 202, in _fetch_lfw_people\r\n    faces = _load_imgs(file_paths, slice_, color, resize)\r\n  File \"/home/tom/scikit-learn/sklearn/datasets/lfw.py\", line 159, in _load_imgs\r\n    face = imresize(face, resize)\r\n  File \"/usr/lib/python2.7/dist-packages/scipy/misc/pilutil.py\", line 420, in imresize\r\n    imnew = im.resize(size, resample=func[interp])\r\n  File \"/usr/local/lib/python2.7/dist-packages/PIL/Image.py\", line 1533, in resize\r\n    if self.size == size:\r\nValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()\r\n-------------------- >> begin captured logging << --------------------\r\nsklearn.datasets.lfw: INFO: Loading LFW people faces from /tmp/scikit_learn_lfw_test_appTcR/lfw_home\r\nsklearn.datasets.lfw: INFO: Loading face #00001 / 00010\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: sklearn.datasets.tests.test_lfw.test_load_fake_lfw_pairs\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/tom/scikit-learn/sklearn/datasets/tests/test_lfw.py\", line 159, in test_load_fake_lfw_pairs\r\n    lfw_pairs_train = load_lfw_pairs(data_home=SCIKIT_LEARN_DATA)\r\n  File \"/home/tom/scikit-learn/sklearn/datasets/lfw.py\", line 492, in load_lfw_pairs\r\n    return fetch_lfw_pairs(download_if_missing=download_if_missing, **kwargs)\r\n  File \"/home/tom/scikit-learn/sklearn/datasets/lfw.py\", line 479, in fetch_lfw_pairs\r\n    slice_=slice_)\r\n  File \"/home/tom/scikit-learn/sklearn/externals/joblib/memory.py\", line 481, in __call__\r\n    return self._cached_call(args, kwargs)[0]\r\n  File \"/home/tom/scikit-learn/sklearn/externals/joblib/memory.py\", line 428, in _cached_call\r\n    out, metadata = self.call(*args, **kwargs)\r\n  File \"/home/tom/scikit-learn/sklearn/externals/joblib/memory.py\", line 673, in call\r\n    output = self.func(*args, **kwargs)\r\n  File \"/home/tom/scikit-learn/sklearn/datasets/lfw.py\", line 355, in _fetch_lfw_pairs\r\n    pairs = _load_imgs(file_paths, slice_, color, resize)\r\n  File \"/home/tom/scikit-learn/sklearn/datasets/lfw.py\", line 159, in _load_imgs\r\n    face = imresize(face, resize)\r\n  File \"/usr/lib/python2.7/dist-packages/scipy/misc/pilutil.py\", line 420, in imresize\r\n    imnew = im.resize(size, resample=func[interp])\r\n  File \"/usr/local/lib/python2.7/dist-packages/PIL/Image.py\", line 1533, in resize\r\n    if self.size == size:\r\nValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()\r\n-------------------- >> begin captured logging << --------------------\r\nsklearn.datasets.lfw: INFO: Loading train LFW pairs from /tmp/scikit_learn_lfw_test_appTcR/lfw_home\r\nsklearn.datasets.lfw: INFO: Loading face #00001 / 00020\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n----------------------------------------------------------------------\r\nRan 4949 tests in 101.385s\r\n\r\nFAILED (SKIP=14, errors=2)\r\nmake: *** [test-code] Error 1\r\n\r\ntom@tom-sam:~$ apt-cache policy python-joblib\r\npython-joblib:\r\n  Installed: 0.7.1-1\r\n  Candidate: 0.7.1-1\r\n  Version table:\r\n *** 0.7.1-1 0\r\n        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages\r\n        100 /var/lib/dpkg/status\r\ntom@tom-sam:~$ \r\nsklearn.__version__\r\n'0.17.dev0'\r\n```"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/86542000","html_url":"https://github.com/scikit-learn/scikit-learn/issues/4442#issuecomment-86542000","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4442","id":86542000,"user":{"login":"ogrisel","id":89061,"avatar_url":"https://avatars.githubusercontent.com/u/89061?v=3","gravatar_id":"","url":"https://api.github.com/users/ogrisel","html_url":"https://github.com/ogrisel","followers_url":"https://api.github.com/users/ogrisel/followers","following_url":"https://api.github.com/users/ogrisel/following{/other_user}","gists_url":"https://api.github.com/users/ogrisel/gists{/gist_id}","starred_url":"https://api.github.com/users/ogrisel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogrisel/subscriptions","organizations_url":"https://api.github.com/users/ogrisel/orgs","repos_url":"https://api.github.com/users/ogrisel/repos","events_url":"https://api.github.com/users/ogrisel/events{/privacy}","received_events_url":"https://api.github.com/users/ogrisel/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T14:32:57Z","updated_at":"2015-03-26T14:32:57Z","body":"Closing this issue. Thanks @Barmaley-exe !"}}