IPython console errors in macOS 10.14 (Mojave)
See original GitHub issueIssue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder
(orpip
, if not using Anaconda) - Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Reset preferences with
spyder --reset
- Reinstalled the latest version of Anaconda
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
Example first and described below the screenshot
In [1]
shows an example when pwd
is understood as python variable, not the UNIX command. As the number (1
) indicates, this is the very first thing I typed on the console after turning on spyder.
In [2]
shows an example when the code is not ending after hitting return key for several times (more than 1 sec interval)
Also, spyder IPython console is sometimes extremely slow (e.g., declaring a variable takes few seconds).
These happen very randomly. Sometimes, I have to reopen spyder and it works fine for a while, but it gets like this again after executing few lines.
I am using OS X 10.14 (Mojave), spyder 3.3.1, Python 3.6.6, and IPython 7.0.1. None of the above issues appear when I use IPython on terminal. Also I hadn’t experienced these problems when I used OS X 10.13, Windows 10 and Ubuntu 16.04 (until ~1-2 weeks ago). So I am guessing there is something when I use spyder on Mojave…?
What steps reproduce the problem?
Described above
What is the expected output? What do you see instead?
Described above
Paste Traceback/Error Below (if applicable)
Described above
Versions
- Spyder version: 3.3.1
- Python version: 3.6.6
- Qt version: 5.9.6
- PyQt version: 5.9.2
- Operating System name/version: OS X 10.14 Mojave
Dependencies
IPython >=4.0 : 7.0.1 (OK)
cython >=0.21 : 0.28.5 (OK)
jedi >=0.9.0 : 0.12.1 (OK)
matplotlib >=2.0.0: 3.0.0 (OK)
nbconvert >=4.0 : 5.3.1 (OK)
numpy >=1.7 : 1.15.2 (OK)
pandas >=0.13.1 : 0.23.4 (OK)
psutil >=0.3 : 5.4.7 (OK)
pycodestyle >=2.3 : 2.4.0 (OK)
pyflakes >=0.6.0 : 2.0.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 2.1.1 (OK)
qtconsole >=4.2.0 : 4.4.1 (OK)
rope >=0.9.4 : 0.11.0 (OK)
sphinx >=0.6.6 : 1.8.1 (OK)
sympy >=0.7.3 : 1.3 (OK)
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top GitHub Comments
I think this is an issue with the latest IPython/ipykernel combo. Please close Spyder, open Terminal.app, run there
and try again.
Closing in favor of #2902, where there’s more people talking about this problem.