{"action":"closed","issue":{"url":"https://api.github.com/repos/rlabbe/Kalman-and-Bayesian-Filters-in-Python/issues/138","repository_url":"https://api.github.com/repos/rlabbe/Kalman-and-Bayesian-Filters-in-Python","labels_url":"https://api.github.com/repos/rlabbe/Kalman-and-Bayesian-Filters-in-Python/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/rlabbe/Kalman-and-Bayesian-Filters-in-Python/issues/138/comments","events_url":"https://api.github.com/repos/rlabbe/Kalman-and-Bayesian-Filters-in-Python/issues/138/events","html_url":"https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python/issues/138","id":206809434,"number":138,"title":"ImportError: No module named 'code.mkf_internal'; 'code' is not a package when I try to make a simple test code","user":{"login":"asmwarrior","id":561818,"avatar_url":"https://avatars3.githubusercontent.com/u/561818?v=3","gravatar_id":"","url":"https://api.github.com/users/asmwarrior","html_url":"https://github.com/asmwarrior","followers_url":"https://api.github.com/users/asmwarrior/followers","following_url":"https://api.github.com/users/asmwarrior/following{/other_user}","gists_url":"https://api.github.com/users/asmwarrior/gists{/gist_id}","starred_url":"https://api.github.com/users/asmwarrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmwarrior/subscriptions","organizations_url":"https://api.github.com/users/asmwarrior/orgs","repos_url":"https://api.github.com/users/asmwarrior/repos","events_url":"https://api.github.com/users/asmwarrior/events{/privacy}","received_events_url":"https://api.github.com/users/asmwarrior/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-02-10T14:28:42Z","updated_at":"2017-05-11T20:15:15Z","closed_at":"2017-05-11T20:15:15Z","body":"Under Windows7 64bit, when I download the git master zip, and create a simple python test code(say, I have a.py file)\r\n`from code.mkf_internal import plot_track`\r\n\r\n in spyder, I get such error message:\r\n`ImportError: No module named 'code.mkf_internal'; 'code' is not a package`\r\n\r\nBut I have create the a.py file exactly in the root folder of the unzip file, which means there is a folder named \"code\".\r\n\r\nSo, I guess there are some modules named \"code\", I just looked at my python installation. (In-fact, I'm now using WinPython with python 3.4, but this issue also happens in Anaconda python 3.5).  There are a file named \"code.py\" in the standard installed python.\r\n`E:\\download\\sci\\WinPython-64bit-3.4.4.6Qt5\\python-3.4.4.amd64\\Lib\\code.py`\r\nDoes this caused by this file? But it looks like Python 2.7 also have this exact code.py file under the `Lib` folder.\r\n\r\nSo, do I need to add the currently folder to the top of the PYTHONPATH? or `sys.pah`?\r\n\r\nBTW: this issue does not happens in the Anaconda python 2.7.\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"rlabbe"}}