question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IPython console errors in macOS 10.14 (Mojave)

See original GitHub issue

Issue 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 (or pip, 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

test1

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:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
ccordoba12commented, Oct 9, 2018

So I am guessing there is something when I use spyder on Mojave…?

I think this is an issue with the latest IPython/ipykernel combo. Please close Spyder, open Terminal.app, run there

conda install ipykernel=4.8.2 ipython=6.5.0

and try again.

0reactions
ccordoba12commented, Dec 5, 2018

Closing in favor of #2902, where there’s more people talking about this problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tkinter crashes computer after MacOS 10.14.6 update
This problem has troubled me for a long time. My macOS version is 10.14.6 (Mojave). Running tkinter will crash the system, but I...
Read more >
macOS Mojave 10.14 Release Notes - Apple Developer
The macOS 10.14 SDK provides support for developing apps for Macs running macOS ... the error code: -1743 (" : Not authorized to...
Read more >
Fix Terminal “Operation not permitted” Error in macOS ...
This walkthrough will show you how to fix “Operation not permitted” error messages seen at the command line in Terminal for Mac OS...
Read more >
Issue compiling ROOT master from source on Mac OS Mojave
/Users/lpnhe/root/core/base/inc/TStorage.h:148:1: error: unknown type name 'R__EXTERN' R__EXTERN FreeIfTMapFile_t *gFreeIfTMapFile; ...
Read more >
MacOS 10.14 Mojave Compatibility Info
How to manually allow Console keystroke passthrough · Open System Preferences > Security & Privacy > Privacy (from Apple Menu at top left...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found