-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'NoneType' object has no attribute 'execute' #5053
Comments
Please post a screenshot of the IPython console when this error pops up. |
@stonebig, are you able to reproduce this one? It looks like a Qt issue to me. |
I referred to this error in another issue (#5154). Then I discovered that the error, in my case, was occurring because I had set up another python interpreter, different from the default, and it did'nt have the ipython package. |
@marcelotduarte, thanks for letting us know about it! Finally we have an explanation for this! We'll take a look at it in 3.2.4 |
@marcelotduarte, I can't reproduce this. Please post the exact steps you followed to set up your another python interpreter. |
Description
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Please provide any additional information below
File "C:\Users\cem\Desktop\WinPython-64bit-3.6.2.0Qt5\python-3.6.2.amd64\lib\site-packages\spyder\plugins\ipythonconsole.py", line 876, in run_script
self.execute_code(line, current_client, clear_variables)
File "C:\Users\cem\Desktop\WinPython-64bit-3.6.2.0Qt5\python-3.6.2.amd64\lib\site-packages\spyder\plugins\ipythonconsole.py", line 922, in execute_code
sw.execute(to_text_string(to_text_string(lines)))
File "C:\Users\cem\Desktop\WinPython-64bit-3.6.2.0Qt5\python-3.6.2.amd64\lib\site-packages\qtconsole\history_console_widget.py", line 47, in execute
source, hidden, interactive)
File "C:\Users\cem\Desktop\WinPython-64bit-3.6.2.0Qt5\python-3.6.2.amd64\lib\site-packages\qtconsole\console_widget.py", line 631, in execute
self._execute(source, hidden)
File "C:\Users\cem\Desktop\WinPython-64bit-3.6.2.0Qt5\python-3.6.2.amd64\lib\site-packages\qtconsole\frontend_widget.py", line 294, in _execute
msg_id = self.kernel_client.execute(source, hidden)
AttributeError: 'NoneType' object has no attribute 'execute'
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: