{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/minpy/issues/44","repository_url":"https://api.github.com/repos/dmlc/minpy","labels_url":"https://api.github.com/repos/dmlc/minpy/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/minpy/issues/44/comments","events_url":"https://api.github.com/repos/dmlc/minpy/issues/44/events","html_url":"https://github.com/dmlc/minpy/issues/44","id":177548086,"number":44,"title":"AttributeError: type object 'NDArray' has no attribute 'reshape'","user":{"login":"evan-sh","id":17420138,"avatar_url":"https://avatars.githubusercontent.com/u/17420138?v=3","gravatar_id":"","url":"https://api.github.com/users/evan-sh","html_url":"https://github.com/evan-sh","followers_url":"https://api.github.com/users/evan-sh/followers","following_url":"https://api.github.com/users/evan-sh/following{/other_user}","gists_url":"https://api.github.com/users/evan-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/evan-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evan-sh/subscriptions","organizations_url":"https://api.github.com/users/evan-sh/orgs","repos_url":"https://api.github.com/users/evan-sh/repos","events_url":"https://api.github.com/users/evan-sh/events{/privacy}","received_events_url":"https://api.github.com/users/evan-sh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-17T01:20:18Z","updated_at":"2016-09-17T02:47:54Z","closed_at":null,"body":"Hi,\r\nI encountered an error when importing minpy. And I checked that mxnet and minpy are up to date. \r\nThank you!\r\n\r\nTraceback (most recent call last):\r\n  File \"LogisticRegressionTutorial.py\", line 10, in <module>\r\n    import minpy.numpy as np\r\n  File \"/Applications/anaconda/lib/python2.7/site-packages/minpy/numpy/__init__.py\", line 18, in <module>\r\n    _mod = Module(_old)\r\n  File \"/Applications/anaconda/lib/python2.7/site-packages/minpy/numpy/mocking.py\", line 46, in __init__\r\n    mod.register_primitives(self._registry, primitive_wrapper)\r\n  File \"/Applications/anaconda/lib/python2.7/site-packages/minpy/array_variants/mxnet/mxnet_core.py\", line 61, in register_primitives\r\n    reg.register('reshape', prim_wrapper(NDArray.reshape))\r\nAttributeError: type object 'NDArray' has no attribute 'reshape'"},"comment":{"url":"https://api.github.com/repos/dmlc/minpy/issues/comments/247744909","html_url":"https://github.com/dmlc/minpy/issues/44#issuecomment-247744909","issue_url":"https://api.github.com/repos/dmlc/minpy/issues/44","id":247744909,"user":{"login":"lryta","id":8669478,"avatar_url":"https://avatars.githubusercontent.com/u/8669478?v=3","gravatar_id":"","url":"https://api.github.com/users/lryta","html_url":"https://github.com/lryta","followers_url":"https://api.github.com/users/lryta/followers","following_url":"https://api.github.com/users/lryta/following{/other_user}","gists_url":"https://api.github.com/users/lryta/gists{/gist_id}","starred_url":"https://api.github.com/users/lryta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lryta/subscriptions","organizations_url":"https://api.github.com/users/lryta/orgs","repos_url":"https://api.github.com/users/lryta/repos","events_url":"https://api.github.com/users/lryta/events{/privacy}","received_events_url":"https://api.github.com/users/lryta/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T02:47:54Z","updated_at":"2016-09-17T02:47:54Z","body":"@evan-sh Also make sure you include `export PYTHONPATH=~/mxnet/python:$PYTHONPATH` in the last few lines of your .bashrc or .zshrc (depends on what shell you choose)."}}
{"actor":{"display_login":"lryta"}}