2

I have just upgrade my OS from 14.10 to 15.04. Spyder(Python 3.4) with iPython was working perfectly in 14.10. However, after the upgrade, iPython console failed to start up.

My python version I am working on is 3.4. I am working in a virtual environment with virtualenv and virtualenvwrapper installed.

Would appreciate if you all could advise me on what I could possible do to resolve this issue. Do let me know if need further details on this.

Meanwhile, the following might facilitate the troubleshooting process and I hope it would help, nonetheless.

Spyder Internal Console

This console is used to report application
internal errors and to inspect Spyder
internals with the following commands:
  spy.app, spy.window, dir(spy)

Please don't use it to run your code

>>> Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/spyderlib/plugins/ipythonconsole.py", line 790, in run_script_in_current_client
    self.execute_python_code(line)
  File "/usr/lib/python3/dist-packages/spyderlib/plugins/ipythonconsole.py", line 803, in execute_python_code
    client.shellwidget.execute(to_text_string(lines))
  File "/usr/lib/python3/dist-packages/IPython/qt/console/history_console_widget.py", line 46, in execute
    source, hidden, interactive)
  File "/usr/lib/python3/dist-packages/IPython/qt/console/console_widget.py", line 655, in execute
    self._execute(source, hidden)
  File "/usr/lib/python3/dist-packages/IPython/qt/console/frontend_widget.py", line 243, in _execute
    msg_id = self.kernel_client.execute(source, hidden)
AttributeError: 'NoneType' object has no attribute 'execute'
Maythux
  • 84,289
  • Do you receive this error if you boot to a previous kernel? – Nodak Apr 30 '15 at 07:35
  • nope,..i didn't encounter the problem with Ubuntu14.10,..could this be due to the OS upgrade from 14.10 to 15.04? – cornelius lee May 04 '15 at 02:26
  • Yes, but if you boot into a previous kernel do you still get an error? It's to ascertain if it's a kernel, its designation, or some other configuration. – Nodak May 04 '15 at 03:49
  • For some reason, I am unable to boot GRUB when pressing and holding the left "SHIFT" key. Any ideas how I could access GRUB to boot to an earlier kernel to test this, please? – cornelius lee May 05 '15 at 03:05
  • http://askubuntu.com/questions/16042/how-to-get-to-the-grub-menu-at-boot-time is the best I can do. If shift won't do it edit /etc/default/grub and upgrade-grub – Nodak May 05 '15 at 05:11
  • I have managed to boot to an earlier kernel, 3.16. But I am still encountering the same error messages. I have also checked that the version of python, pip and ipython is in the correct virtual environment path. Yet, when calling up an ipython GUI in spyder failed. – cornelius lee May 05 '15 at 07:11
  • I can't replicate your error, but it might be with Spyder...or Qt. Sorry. – Nodak May 05 '15 at 12:36
  • Perhaps it might be due to Sypder. – cornelius lee May 06 '15 at 01:58
  • I found a solution to this, Nodak. Here's what I did....I deleted the virtual environment and created a new one and installed ipython through pip and it works! Hope this one helps everyone out there! – cornelius lee May 07 '15 at 14:42
  • Woot! woot! well done. – Nodak May 07 '15 at 17:05

0 Answers0