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'
10
  • Do you receive this error if you boot to a previous kernel?
    – Nodak
    Apr 30, 2015 at 7: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? May 4, 2015 at 2: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 4, 2015 at 3: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? May 5, 2015 at 3:05
  • askubuntu.com/questions/16042/… is the best I can do. If shift won't do it edit /etc/default/grub and upgrade-grub
    – Nodak
    May 5, 2015 at 5:11

0

You must log in to answer this question.

Browse other questions tagged .