{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1192","repository_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues","labels_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1192/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1192/comments","events_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1192/events","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/1192","id":185241489,"number":1192,"title":"Scikit-learn ImportError: image not found","user":{"login":"aneeshvartakavi","id":4122476,"avatar_url":"https://avatars.githubusercontent.com/u/4122476?v=3","gravatar_id":"","url":"https://api.github.com/users/aneeshvartakavi","html_url":"https://github.com/aneeshvartakavi","followers_url":"https://api.github.com/users/aneeshvartakavi/followers","following_url":"https://api.github.com/users/aneeshvartakavi/following{/other_user}","gists_url":"https://api.github.com/users/aneeshvartakavi/gists{/gist_id}","starred_url":"https://api.github.com/users/aneeshvartakavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aneeshvartakavi/subscriptions","organizations_url":"https://api.github.com/users/aneeshvartakavi/orgs","repos_url":"https://api.github.com/users/aneeshvartakavi/repos","events_url":"https://api.github.com/users/aneeshvartakavi/events{/privacy}","received_events_url":"https://api.github.com/users/aneeshvartakavi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-25T21:40:28Z","updated_at":"2016-10-25T22:38:37Z","closed_at":"2016-10-25T22:38:37Z","body":"I'm having trouble installing scikit learn on python 3.5 (OSX). \r\n\r\nIn the process of trying to fix this issue, I downloaded and installed the latest Anaconda3(4.2.0).\r\n\r\nSteps to reproduce : \r\n\r\n```\r\navartakavi-04922:~ avartakavi$ conda create -n test python=3\r\nFetching package metadata .......\r\nSolving package specifications: ..........\r\n\r\nPackage plan for installation in environment /Users/avartakavi/anaconda3/envs/test:\r\n\r\nThe following NEW packages will be INSTALLED:\r\n\r\n    openssl:    1.0.2j-0\r\n    pip:        8.1.2-py35_0\r\n    python:     3.5.2-0\r\n    readline:   6.2-2\r\n    setuptools: 27.2.0-py35_0\r\n    sqlite:     3.13.0-0\r\n    tk:         8.5.18-0\r\n    wheel:      0.29.0-py35_0\r\n    xz:         5.2.2-0\r\n    zlib:       1.2.8-3\r\n\r\nProceed ([y]/n)? y\r\n\r\nLinking packages ...\r\n[      COMPLETE      ]|#########################################################################################################################| 100%\r\n#\r\n# To activate this environment, use:\r\n# > source activate test\r\n#\r\n# To deactivate this environment, use:\r\n# > source deactivate test\r\n#\r\n\r\navartakavi-04922:~ avartakavi$ source activate test\r\n\r\n(test) avartakavi-04922:~ avartakavi$ conda install scikit-learn\r\nFetching package metadata .......\r\nSolving package specifications: ..........\r\n\r\nPackage plan for installation in environment /Users/avartakavi/anaconda3/envs/test:\r\n\r\nThe following NEW packages will be INSTALLED:\r\n\r\n    mkl:          11.3.3-0\r\n    numpy:        1.11.2-py35_0\r\n    scikit-learn: 0.18-np111py35_0\r\n    scipy:        0.18.1-np111py35_0\r\n\r\nProceed ([y]/n)? y\r\n\r\nLinking packages ...\r\n[      COMPLETE      ]|#########################################################################################################################| 100%\r\n\r\n(test) avartakavi-04922:~ avartakavi$ ipython\r\nPython 3.5.2 |Anaconda 4.2.0 (x86_64)| (default, Jul  2 2016, 17:52:12)\r\nType \"copyright\", \"credits\" or \"license\" for more information.\r\n\r\nIPython 5.1.0 -- An enhanced Interactive Python.\r\n?         -> Introduction and overview of IPython's features.\r\n%quickref -> Quick reference.\r\nhelp      -> Python's own help system.\r\nobject?   -> Details about 'object', use 'object??' for extra details.\r\n\r\nIn [1]: import sklearn\r\n---------------------------------------------------------------------------\r\nImportError                               Traceback (most recent call last)\r\n<ipython-input-1-8fd979e02004> in <module>()\r\n----> 1 import sklearn\r\n\r\n/Users/avartakavi/anaconda3/lib/python3.5/site-packages/sklearn/__init__.py in <module>()\r\n     55 else:\r\n     56     from . import __check_build\r\n---> 57     from .base import clone\r\n     58     __check_build  # avoid flakes unused variable error\r\n     59\r\n\r\n/Users/avartakavi/anaconda3/lib/python3.5/site-packages/sklearn/base.py in <module>()\r\n      9 from scipy import sparse\r\n     10 from .externals import six\r\n---> 11 from .utils.fixes import signature\r\n     12\r\n     13\r\n\r\n/Users/avartakavi/anaconda3/lib/python3.5/site-packages/sklearn/utils/__init__.py in <module>()\r\n      9\r\n     10 from .murmurhash import murmurhash3_32\r\n---> 11 from .validation import (as_float_array,\r\n     12                          assert_all_finite,\r\n     13                          check_random_state, column_or_1d, check_array,\r\n\r\n/Users/avartakavi/anaconda3/lib/python3.5/site-packages/sklearn/utils/validation.py in <module>()\r\n     14\r\n     15 from ..externals import six\r\n---> 16 from ..utils.fixes import signature\r\n     17\r\n     18 FLOAT_DTYPES = (np.float64, np.float32, np.float16)\r\n\r\n/Users/avartakavi/anaconda3/lib/python3.5/site-packages/sklearn/utils/fixes.py in <module>()\r\n    322     from ._scipy_sparse_lsqr_backport import lsqr as sparse_lsqr\r\n    323 else:\r\n--> 324     from scipy.sparse.linalg import lsqr as sparse_lsqr\r\n    325\r\n    326\r\n\r\n/Users/avartakavi/anaconda3/lib/python3.5/site-packages/scipy/sparse/linalg/__init__.py in <module>()\r\n    110 from __future__ import division, print_function, absolute_import\r\n    111\r\n--> 112 from .isolve import *\r\n    113 from .dsolve import *\r\n    114 from .interface import *\r\n\r\n/Users/avartakavi/anaconda3/lib/python3.5/site-packages/scipy/sparse/linalg/isolve/__init__.py in <module>()\r\n      4\r\n      5 #from info import __doc__\r\n----> 6 from .iterative import *\r\n      7 from .minres import minres\r\n      8 from .lgmres import lgmres\r\n\r\n/Users/avartakavi/anaconda3/lib/python3.5/site-packages/scipy/sparse/linalg/isolve/iterative.py in <module>()\r\n      5 __all__ = ['bicg','bicgstab','cg','cgs','gmres','qmr']\r\n      6\r\n----> 7 from . import _iterative\r\n      8\r\n      9 from scipy.sparse.linalg.interface import LinearOperator\r\n\r\nImportError: dlopen(/Users/avartakavi/anaconda3/lib/python3.5/site-packages/scipy/sparse/linalg/isolve/_iterative.so, 2): Library not loaded: /usr/local/lib/libgcc_s.1.dylib\r\n  Referenced from: /Users/avartakavi/anaconda3/lib/python3.5/site-packages/scipy/sparse/linalg/isolve/_iterative.so\r\n  Reason: image not found\r\n```"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/comments/256198615","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/1192#issuecomment-256198615","issue_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1192","id":256198615,"user":{"login":"aneeshvartakavi","id":4122476,"avatar_url":"https://avatars.githubusercontent.com/u/4122476?v=3","gravatar_id":"","url":"https://api.github.com/users/aneeshvartakavi","html_url":"https://github.com/aneeshvartakavi","followers_url":"https://api.github.com/users/aneeshvartakavi/followers","following_url":"https://api.github.com/users/aneeshvartakavi/following{/other_user}","gists_url":"https://api.github.com/users/aneeshvartakavi/gists{/gist_id}","starred_url":"https://api.github.com/users/aneeshvartakavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aneeshvartakavi/subscriptions","organizations_url":"https://api.github.com/users/aneeshvartakavi/orgs","repos_url":"https://api.github.com/users/aneeshvartakavi/repos","events_url":"https://api.github.com/users/aneeshvartakavi/events{/privacy}","received_events_url":"https://api.github.com/users/aneeshvartakavi/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T22:38:37Z","updated_at":"2016-10-25T22:38:37Z","body":"I'm now able to import sklearn (following the same steps as above). I removed some unused paths in my `.bash_profile`, including a `DYLD_FALLBACK_LIBRARY_PATH` put there by an old anaconda installation."}}
{"actor":{"display_login":"aneeshvartakavi"}}