{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/1044","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1044/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1044/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1044/events","html_url":"https://github.com/spyder-ide/spyder/issues/1044","id":57952160,"number":1044,"title":"Imports from local directory do not work in Ipython qtconsole plugin","user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/1%20star","name":"1 star","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/IPython-Console","name":"IPython-Console","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/verified","name":"verified","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-17T17:11:45Z","updated_at":"2015-02-17T17:11:48Z","closed_at":null,"body":"_From [DavidAnt...@gmail.com](https://code.google.com/u/108698404730356683634/) on 2012-05-23T18:15:41Z_\n\n\n\nWhat steps will reproduce the problem?\n\n 1. Start an ipython kernel\r\n2. Change to a directory with your own python scripts (or start in this directory)\r\n3. Try importing one of the scripts with \"import mymodule\" What is the expected output? What do you see instead? \"ImportError: No module named mymodule\"\r\n\r\nThis problem does not occur in the following cases:\r\n- In the regular python or Ipython console within spyder. \r\n- In the ipython qtconsole when it is not embedded in spyder\r\n- Trying to import my own scripts located in the PYTHONPATH\r\n- Trying to import builtin python libraries\r\n\r\nI tried the following, none of which helped the problem (either alone or in combination):\r\n- checking back to a revision from 7 days ago\r\n- removing the .spyder2 directory before starting spyder\r\n- removing .config/ipython directory before starting spyder\r\n\r\nI have used the new ipython qtconsole before, but never came across this problem. However it's possible that I never previously tried to import a local script.\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1044_"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/74706662","html_url":"https://github.com/spyder-ide/spyder/issues/1044#issuecomment-74706662","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1044","id":74706662,"user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T17:11:48Z","updated_at":"2015-02-17T17:11:48Z","body":"_From [ccordoba12](https://code.google.com/u/ccordoba12/) on 2012-05-25T07:39:19Z_\n\nPierre, are you sure it's not possible to have one client per tab? That's something that the qtconsole application has in IPython 0.12 so it shouldn't be hard for us to emulate.\r\n\r\nBesides, having only one tabbed IPython plugin would have more advantages:\r\n1. We could create a proper config page and add it to our Preferences. This would let users to configure the most commonly used options through a GUI instead of editing the IPython text files.\r\n2. We could add an Options menu to the plugin, like the one Console has, to start new kernels or connect to old ones.\r\n3. We (probably) could start pure Python kernels inside a tab. This is a very interesting feature, because the Python frontend has the most interesting features that qtconsole brought (like multiline editing and syntax highlighting) without all the IPython features. That could be useful for people who develop non-scientific apps."}}