{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/19720","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/19720/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/19720/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/19720/events","html_url":"https://github.com/tensorflow/tensorflow/issues/19720","id":328814390,"node_id":"MDU6SXNzdWUzMjg4MTQzOTA=","number":19720,"title":"Library not loaded: @rpath/libcublas.8.0.dylib when running TF GPU on MacOS ","user":{"login":"JiangHoumin","id":20291253,"node_id":"MDQ6VXNlcjIwMjkxMjUz","avatar_url":"https://avatars1.githubusercontent.com/u/20291253?v=4","gravatar_id":"","url":"https://api.github.com/users/JiangHoumin","html_url":"https://github.com/JiangHoumin","followers_url":"https://api.github.com/users/JiangHoumin/followers","following_url":"https://api.github.com/users/JiangHoumin/following{/other_user}","gists_url":"https://api.github.com/users/JiangHoumin/gists{/gist_id}","starred_url":"https://api.github.com/users/JiangHoumin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiangHoumin/subscriptions","organizations_url":"https://api.github.com/users/JiangHoumin/orgs","repos_url":"https://api.github.com/users/JiangHoumin/repos","events_url":"https://api.github.com/users/JiangHoumin/events{/privacy}","received_events_url":"https://api.github.com/users/JiangHoumin/received_events","type":"User","site_admin":false},"labels":[{"id":386191887,"node_id":"MDU6TGFiZWwzODYxOTE4ODc=","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response","name":"stat:awaiting response","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"skye","id":88808,"node_id":"MDQ6VXNlcjg4ODA4","avatar_url":"https://avatars1.githubusercontent.com/u/88808?v=4","gravatar_id":"","url":"https://api.github.com/users/skye","html_url":"https://github.com/skye","followers_url":"https://api.github.com/users/skye/followers","following_url":"https://api.github.com/users/skye/following{/other_user}","gists_url":"https://api.github.com/users/skye/gists{/gist_id}","starred_url":"https://api.github.com/users/skye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skye/subscriptions","organizations_url":"https://api.github.com/users/skye/orgs","repos_url":"https://api.github.com/users/skye/repos","events_url":"https://api.github.com/users/skye/events{/privacy}","received_events_url":"https://api.github.com/users/skye/received_events","type":"User","site_admin":false},"assignees":[{"login":"skye","id":88808,"node_id":"MDQ6VXNlcjg4ODA4","avatar_url":"https://avatars1.githubusercontent.com/u/88808?v=4","gravatar_id":"","url":"https://api.github.com/users/skye","html_url":"https://github.com/skye","followers_url":"https://api.github.com/users/skye/followers","following_url":"https://api.github.com/users/skye/following{/other_user}","gists_url":"https://api.github.com/users/skye/gists{/gist_id}","starred_url":"https://api.github.com/users/skye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skye/subscriptions","organizations_url":"https://api.github.com/users/skye/orgs","repos_url":"https://api.github.com/users/skye/repos","events_url":"https://api.github.com/users/skye/events{/privacy}","received_events_url":"https://api.github.com/users/skye/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-06-03T09:39:49Z","updated_at":"2018-06-29T06:06:57Z","closed_at":null,"author_association":"NONE","body":"\r\n### System information\r\n\r\n- **System: Mac OS 10.13.4**:\r\n- **Xcode:9.2 .  Apple LLVM version 9.0.0 (clang-900.0.39.2)**:\r\n- **Cuda:**:\r\n- **nvcc: NVIDIA (R) Cuda compiler driver**:\r\n- **Copyright (c) 2005-2018 NVIDIA Corporation**:\r\n- **Built on Sun_Mar_18_21:08:25_CDT_2018**:\r\n- **Cuda compilation tools, release 9.2, V9.2.64**:\r\n- **cudnn:7.1.4**:\r\n- **gcc g++ : 4.2.1**:\r\n\r\n\r\n- **Question:**:\r\nWhen i use anaconda install tensorflow-gpu,the terminal say i was successful! Such as:\r\nInstalling collected packages: numpy, six, werkzeug, protobuf, tensorflow-gpu\r\nSuccessfully installed numpy-1.14.3 protobuf-3.5.2.post1 six-1.11.0 tensorflow-gpu-1.1.0 werkzeug-0.14.1\r\n\r\nBut when is write \"import tensorflow as tf\",some erroes is show.\r\n\r\n> (tensorflowGPU) jhmdeMacBook-Air:Sources jhm$ python\r\nPython 3.6.5 |Anaconda, Inc.| (default, Apr 26 2018, 08:42:37) \r\n[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import tensorflow as tf\r\nTraceback (most recent call last):\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py\", line 41, in <module>\r\n    from tensorflow.python.pywrap_tensorflow_internal import *\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py\", line 28, in <module>\r\n    _pywrap_tensorflow_internal = swig_import_helper()\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py\", line 24, in swig_import_helper\r\n    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/imp.py\", line 243, in load_module\r\n    return load_dynamic(name, filename, file)\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/imp.py\", line 343, in load_dynamic\r\n    return _load(spec)\r\nImportError: dlopen(/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 10): Library not loaded: @rpath/libcublas.8.0.dylib\r\n  Referenced from: /Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so\r\n  Reason: image not found\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\n>Traceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/__init__.py\", line 24, in <module>\r\n    from tensorflow.python import *\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/python/__init__.py\", line 51, in <module>\r\n    from tensorflow.python import pywrap_tensorflow\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py\", line 52, in <module>\r\n    raise ImportError(msg)\r\nImportError: Traceback (most recent call last):\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py\", line 41, in <module>\r\n    from tensorflow.python.pywrap_tensorflow_internal import *\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py\", line 28, in <module>\r\n    _pywrap_tensorflow_internal = swig_import_helper()\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py\", line 24, in swig_import_helper\r\n    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/imp.py\", line 243, in load_module\r\n    return load_dynamic(name, filename, file)\r\n  File \"/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/imp.py\", line 343, in load_dynamic\r\n    return _load(spec)\r\nImportError: dlopen(/Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 10): Library not loaded: @rpath/libcublas.8.0.dylib\r\n  Referenced from: /Users/jhm/anaconda3/envs/tensorflowGPU/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so\r\n  Reason: image not found\r\n\r\n\r\nFailed to load the native TensorFlow runtime.\r\n\r\nSee https://www.tensorflow.org/install/install_sources#common_installation_problems\r\n\r\nfor some common reasons and solutions.  Include the entire stack trace\r\nabove this error message when asking for help.\r\n\r\n\r\n\r\nBugLog/tensorflowGPU-01.log\r\n\r\nI don't konw what to do!"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/401257060","html_url":"https://github.com/tensorflow/tensorflow/issues/19720#issuecomment-401257060","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/19720","id":401257060,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTI1NzA2MA==","user":{"login":"gunan","id":7946809,"node_id":"MDQ6VXNlcjc5NDY4MDk=","avatar_url":"https://avatars3.githubusercontent.com/u/7946809?v=4","gravatar_id":"","url":"https://api.github.com/users/gunan","html_url":"https://github.com/gunan","followers_url":"https://api.github.com/users/gunan/followers","following_url":"https://api.github.com/users/gunan/following{/other_user}","gists_url":"https://api.github.com/users/gunan/gists{/gist_id}","starred_url":"https://api.github.com/users/gunan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunan/subscriptions","organizations_url":"https://api.github.com/users/gunan/orgs","repos_url":"https://api.github.com/users/gunan/repos","events_url":"https://api.github.com/users/gunan/events{/privacy}","received_events_url":"https://api.github.com/users/gunan/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T06:06:57Z","updated_at":"2018-06-29T06:06:57Z","author_association":"MEMBER","body":"We are not supporting GPUs on macos anymore, because apple and nvidia do not provide official support for each other. I will mark this community support.\r\nYou may have better luck trying to get support for this from stackoverflow."}}
{"actor":{"display_login":"gunan"}}