
In the wake of several discussions on this topic with colleagues, some online ( exhibit A, exhibit B) and some off, I decided to treat this issue in depth here.įirst, I'll provide a quick, bare-bones answer to the general question, how can I install a Python package so it works with my jupyter notebook, using pip and/or conda?. In other words, the Jupyter notebook, like all abstractions, is leaky. In the simplest contexts this issue does not arise, but when it does, debugging the problem requires knowledge of the intricacies of the operating system, the intricacies of Python package installation, and the intricacies of Jupyter itself. etc.).įundamentally the problem is usually rooted in the fact that the Jupyter kernels are disconnected from Jupyter's shell in other words, the installer points to a different Python version than is being used in the notebook. this, that, here, there, another, this one, that one, and this.

This issue is a perrennial source of StackOverflow questions (e.g. I installed package X and now I can't import it in the notebook. I most often see this manifest itself with the following issue: However, see our FAQ question on Big Sur for how to get it working right now.In software, it's said that all abstractions are leaky, and this is true for the Jupyter notebook as it is for any other software.

MacOS Big Sur users: Full support for macOS 11 Big Sur will be included in Spyder 4.2.1, scheduled for release on December 18, 2020. These approaches are generally intended for experienced users and those with specific needs, so we recommend sticking with the recommended installer unless you have a specific reason to go with another. You can also try out Spyder right in your web browser by launching it on Binder.įor a detailed guide on the many different methods of obtaining Spyder, please refer to our full installation instructions, and check out our release page for links to all our installers. Want to join the community of scientists, engineers and analysts all around the world using Spyder?Ĭlick the button below to download the suggested installer for your platform we offer standalone installers on Windows and macOS.įor Linux, we recommend the cross-platform Anaconda distribution, which includes Spyder and many other useful packages for scientific Python.
