{"action":"created","issue":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11645","repository_url":"https://api.github.com/repos/PaddlePaddle/Paddle","labels_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11645/labels{/name}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11645/comments","events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11645/events","html_url":"https://github.com/PaddlePaddle/Paddle/issues/11645","id":334715568,"node_id":"MDU6SXNzdWUzMzQ3MTU1Njg=","number":11645,"title":"运行if name == \"main\":报错ImportError: libmklml_intel.so: cannot open shared object file: No such file or directory","user":{"login":"liuliyalei","id":40382579,"node_id":"MDQ6VXNlcjQwMzgyNTc5","avatar_url":"https://avatars3.githubusercontent.com/u/40382579?v=4","gravatar_id":"","url":"https://api.github.com/users/liuliyalei","html_url":"https://github.com/liuliyalei","followers_url":"https://api.github.com/users/liuliyalei/followers","following_url":"https://api.github.com/users/liuliyalei/following{/other_user}","gists_url":"https://api.github.com/users/liuliyalei/gists{/gist_id}","starred_url":"https://api.github.com/users/liuliyalei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuliyalei/subscriptions","organizations_url":"https://api.github.com/users/liuliyalei/orgs","repos_url":"https://api.github.com/users/liuliyalei/repos","events_url":"https://api.github.com/users/liuliyalei/events{/privacy}","received_events_url":"https://api.github.com/users/liuliyalei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-22T01:40:51Z","updated_at":"2018-06-22T03:17:50Z","closed_at":null,"author_association":"NONE","body":"pip安装的cpu版本，ubuntu系统，用jupyter notebook运行代码\r\n`...\r\nclass TestMNIST:\r\n    def __init__(self):\r\n        # 该模型运行在CUP上，CUP的数量为2\r\n        paddle.init(use_gpu=False, trainer_count=2)\r\n\r\n    # *****************获取训练器********************************\r\n    def get_trainer(self):\r\n...\r\nif __name__ == \"__main__\":\r\n    testMNIST = TestMNIST()\r\n    # 开始训练\r\n    testMNIST.start_trainer()`\r\n\r\n报错：\r\nImportError                               Traceback (most recent call last)\r\n<ipython-input-2-74ea324012ee> in <module>()\r\n     90 \r\n     91 if __name__ == \"__main__\":\r\n---> 92     testMNIST = TestMNIST()\r\n     93     # 开始训练\r\n     94     testMNIST.start_trainer()\r\n\r\n<ipython-input-2-74ea324012ee> in __init__(self)\r\n      9     def __init__(self):\r\n     10         # 该模型运行在CUP上，CUP的数量为2\r\n---> 11         paddle.init(use_gpu=False, trainer_count=2)\r\n     12 \r\n     13     # *****************获取训练器********************************\r\n\r\n/home/liul9/.local/lib/python2.7/site-packages/paddle/v2/__init__.pyc in init(**kwargs)\r\n    126 \r\n    127 def init(**kwargs):\r\n--> 128     import py_paddle.swig_paddle as api\r\n    129     args = []\r\n    130     args_dict = {}\r\n\r\n/home/liul9/.local/lib/python2.7/site-packages/py_paddle/__init__.py in <module>()\r\n     13 # limitations under the License.\r\n     14 \r\n---> 15 from util import DataProviderWrapperConverter\r\n     16 from dataprovider_converter import DataProviderConverter\r\n     17 \r\n\r\n/home/liul9/.local/lib/python2.7/site-packages/py_paddle/util.py in <module>()\r\n     16 \"\"\"\r\n     17 \r\n---> 18 import swig_paddle\r\n     19 import os\r\n     20 import paddle.trainer.PyDataProviderWrapper\r\n\r\n/home/liul9/.local/lib/python2.7/site-packages/py_paddle/swig_paddle.py in <module>()\r\n     26                 fp.close()\r\n     27             return _mod\r\n---> 28     _swig_paddle = swig_import_helper()\r\n     29     del swig_import_helper\r\n     30 else:\r\n\r\n/home/liul9/.local/lib/python2.7/site-packages/py_paddle/swig_paddle.py in swig_import_helper()\r\n     22         if fp is not None:\r\n     23             try:\r\n---> 24                 _mod = imp.load_module('_swig_paddle', fp, pathname, description)\r\n     25             finally:\r\n     26                 fp.close()\r\n\r\nImportError: libmklml_intel.so: cannot open shared object file: No such file or directory\r\n"},"comment":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/comments/399308430","html_url":"https://github.com/PaddlePaddle/Paddle/issues/11645#issuecomment-399308430","issue_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/11645","id":399308430,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTMwODQzMA==","user":{"login":"liuliyalei","id":40382579,"node_id":"MDQ6VXNlcjQwMzgyNTc5","avatar_url":"https://avatars3.githubusercontent.com/u/40382579?v=4","gravatar_id":"","url":"https://api.github.com/users/liuliyalei","html_url":"https://github.com/liuliyalei","followers_url":"https://api.github.com/users/liuliyalei/followers","following_url":"https://api.github.com/users/liuliyalei/following{/other_user}","gists_url":"https://api.github.com/users/liuliyalei/gists{/gist_id}","starred_url":"https://api.github.com/users/liuliyalei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuliyalei/subscriptions","organizations_url":"https://api.github.com/users/liuliyalei/orgs","repos_url":"https://api.github.com/users/liuliyalei/repos","events_url":"https://api.github.com/users/liuliyalei/events{/privacy}","received_events_url":"https://api.github.com/users/liuliyalei/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T03:17:50Z","updated_at":"2018-06-22T03:17:50Z","author_association":"NONE","body":"重启系统后已解决谢谢 @luotao1 "}}
{"actor":{"display_login":"liuliyalei"}}