These are chat archives for spyder-ide/public
I type spyder3 in the terminal but nothing happens with no error messages!
Unless you installed Spyder using
pip, which is for experts only, the correct command under Anaconda is
spyder from the Anaconda prompt, or just using the start menu shortcut (type "Spyder") or from Anaconda Navigator. Alternatively, if you did, perhaps single instance mode is enabled (the default) and you have a Spyder process still running somewhere—if that's the case, try starting it with the
--new-instance)? Have you ever launched Spyder before in that environment?
pip install spyder -Uit changed something with pyQT and it runs now. I did not test it after restart though yet.
conda, then of course Spyder should still work. If not, then your Anaconda install is likely broken and you should do a full clean reinstall of Anaconda. You can also try the steps in our official Spyder Troubleshooting Guide, specifically the Basic First Aid and Emergency CPR sections, which resolve the great majority of Spyder installation issues.
pipinstalls are not recommended for most users, since they are much more likely to break things (as you've likely noticed) and so we generally aren't able to provide individual post-install support for user-specific problems, although you're welcome to try to fix them on your own.
pip-specific problems on your own, then sure go for it—a number of our developers roll with
pipinstalls (although mostly on Linux, not Windows). Personally I've always favored a
condainstall myself; there's been a few issues here and there but nothing like what I've seen with
pip, and it has a number of advantages for scientific computing.
I also have some issues with the Jupyter plugin. I will ask if you don't mind.
Development is currently paused and there are a number of known issues right now, but it will get rolling again after the big Spyder 4 release at the beginning of next year.
you mean Spyder in general or just pip-spyder?
pip in general for scientific computing for new users; Spyder's a great tool for newcomers as well as veterans alike and I know plenty of professors who teach it in their intro as well as higher level courses.
that would be sad. :(
It might get restarted/worked on sooner, and we're always happy to review PRs—we're a small team that's mostly volunteers or funded by our users themselves maintaining around a dozen plugins, Spyder 3, several other packages used by a number of other projects, developing our next major release, Spyder 4, and of course helping dozens of users every day like yourself.
spyder-notebookcorrect? Just want to make sure I understand correctly.
python -m ipykernel install --userwhich is thummed up by most of the users, but it did not help.
spyder-notebookis a Spyder plugin, developed by us, that integrates Jupyter notebook (developed by Project Jupyter) int o Spyder. Does this only happen wihen trying to use Jupyter notebooks in Spyder, anytime you try to launch an IPython Console kernel with
spyder-notebookinstalled, or anytime period?
pip install -U matplotlib. it seems most of the rrors just go away with a forced update/upgrade
unfortunately Spyder with or without notebook causes a lot of errors
Causes a lot of errors? I'm not sure what you mean—errors like what?
At least running many versions of Spyder 3 on several different machines and under a large number of Anaconda environments, aside from specific, edge-case bugs I've never had any critical problems (crashes, freezes, Console errors, etc) that didn't have to do with a specific version of a third party dependency, user error, something wrong with the install, or something else specific to a particular machine/environment?
despite my will I have to go forward with Jupyter notebook
pipinstall, none of which we can do much about. If you're having too much trouble and can't get it working properly, we recommend you either use Anaconda (or Miniconda, if you want something much lighter to install), remove the
spyder-notebookplugin for now and access any Jupyter notebooks you need to using the native Jupyter Notebook web client, and/or avoid Jupyter notebooks altogether unless you really need the specific features they provide for a the relatively narrow set of use cases for which they are the right too.
cmd.exeshell can't find the correct
pythonexecutable, since it isn't on your
$PATH$by default (typical with Anaconda installs). On Windows you should install packages either using the Anaconda Prompt and
conda install <packagename>) if you're running Anaconda (recommended), or with
pipin a command line with your Spyder
venvenvironment activated and the correct
I browsed through the guide and it appears to provide solutions to problems that exist after installing a package.
The guide explains how to install packages so they will be seen by Spyder; it assumes the reader knows the very basics of how to find and install packages in whatever Python environment they've installed, since this is a general Python topic and will vary depending on which Python distribution and install method (Anaconda, WinPython, Macports, Linux package manager, Git, pip, etc) they used to install Spyder in the first place. However, if read my message immediately above your reply, it explains this for the most common configurations.
One solution I found was to use the command "!pip install <module name>"
In all likelihood this may corrupt your installation, depending on how you chose to install Spyder. Please carefully follow the instructions I gave above and in the guide as to how to install packages to use with Spyder. Unless you really know what you are doing, please avoid using
pip if possible since it is more difficult for non-experts to resolve the problems that often arise with it, and installing packages inside of Spyder itself is not yet currently supported. Spyder 4, which will be released in a few months, will make this process much easier, offering built-in, GUI tools to manage package and environments right within the IDE.
conda installto install your packages. If you can't find them on the
defaultschannel, you could try
conda install -c conda-forgeto pull from the community channel, but its usually best to do that in a separate environment, created using e.g.
conda create -n <new-env-name> python=3and activated using
activate <new-env-name>and then run your install commands as needed. Of course, you can find all this and more if you search for the Anaconda documentation.
conda updat e spyder, and rry different versions of Qt/PyQt—
conda install pyqt=5.9or
conda install pyqt=5.6. If that doesn't work, try the other suggestions in our Spyder Troubleshooting Guide, specifically the Basic First Aid and Emergency CPR sections, which resolve the great majority of Spyder installation issues.
conda list anaconda) version.
source activate base.
piplike any other Python package. You may also be able to grab it from your distribution's (or e.g. Fedora's if that's possible) package repository, although that version usually isn't as up to date as the official one, so we generally recommend sticking with Anaconda, or
pipif you're an expert.
conda install pyopengl
conda update pyqt qt
conda install pyqt=5.6if none of that works.