{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/2178","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2178/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2178/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2178/events","html_url":"https://github.com/spyder-ide/spyder/issues/2178","id":58000387,"number":2178,"title":"When using the scientific_startup, module QtCore.QString is not found","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/Python-Console","name":"Python-Console","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-17T23:34:59Z","updated_at":"2015-02-17T23:35:00Z","closed_at":null,"body":"_From [MattBRow...@gmail.com](https://code.google.com/u/117210463431928454928/) on 2015-02-16T11:47:03Z_\n\nSpyder Version:  2.2.5\r\nPython Version:  2.7.6\r\nQt Version    :  4.8.6, PyQt4 (API v1) 4.10.4 on Linux\r\npyflakes >=0.5.0:  None (NOK)\r\npep8 >=0.6      :  None (NOK)\r\nIPython >=0.13  :  1.2.1 (OK)\r\nrope >=0.9.2    :  0.9.2 (OK)\r\nsphinx >=0.6.6  :  None (NOK)\r\nmatplotlib >=1.0:  1.3.1 (OK)\r\npylint >=0.25   :  None (NOK) \n\nWhat steps will reproduce the problem?\n\n 1.Set the console startup script to default scientific_startup.py\r\n2.from PyQt4 import QtCore\r\n3.print QtCore.QString.fromUtf8(\"20 °C\") \n\nWhat is the expected output? What do you see instead?\n\n expected: 20 °C\r\nactual output: AttributeError: 'module' object has no attribute 'QString' \n\nPlease provide any additional information below\n\n. Using the default console startup script gives the expected output with no problems\r\n-Thanks!\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=2178_"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/74779391","html_url":"https://github.com/spyder-ide/spyder/issues/2178#issuecomment-74779391","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2178","id":74779391,"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-17T23:35:00Z","updated_at":"2015-02-17T23:35:00Z","body":"_From [MattBRow...@gmail.com](https://code.google.com/u/117210463431928454928/) on 2015-02-16T11:07:38Z_\n\nI have now learned that the QString module doesn't exist in python 3, and this is likely related to my problem. Note that the python version Spyder uses for me is 2.7.6, and I haven't installed some python3 versions of other libraries that I use in my program. So, it seems that the 2.7 libraries are being used for some modules while the 3.4 libraries are being used for PyQt4. . . maybe? Hope that helps!"}}