Can't Get Spyder to Launch on Windows 10 - python

My installed version of Spyder has been working for years. Then, all of a sudden, yesterday late in the day it crashed and it has since stopped working. Not sure what happened at the end, but now I can't start Spyder.
I tried this.
spyder --reset
That didn't work.
I tried this.
pip uninstall PyQt5
pip install PyQt5
That didn't work.
I tried this.
conda upgrade qt
That didn't work.
I tried this.
uninstall pyQt using
conda uninstall sip
conda install sip
conda install pyqt
conda upgrade spyder
I Googled this, of course. So far, nothing has worked for me. Is there some way to do a master reset of some kind?

Related

Installing Pipetorch in Spyder 5.3 Python 3.8.10

I have tried many times to install Pipetorch in Spyder 5.3 with Python 3.8.10, but it failed.
I have tried as well conda as pip commands, but it does not work. If I use %pip I get this:
Note: you may need to restart the kernel to use updated packages. C:\Users\szewa\AppData\Local\Programs\Spyder\Python\python.exe: No module named pip
If I use conda I get this:
`ValueError: The python kernel does not appear to be a conda environment. Please use ``%pip install instead.`
Can someone help me? I can find nothing on internet that works...
You seem to be confused about the differences between pip and conda. Anyhow, your Python installation is messed up now and only a restart will help now.
The easiest way to use Python together with the Spyder IDE is to install Anaconda and learn some conda basics: Getting started with conda.
If you really want to install Spyder with standard Python, follow the recipe from Spyder installation without Anaconda, but it seems to be tricky.

Tried to install a google-colab module. Now Anaconda Navigator will not launch, even after uninstalling, reinstalling, updating, resetting etc

I'm using Anaconda 3.8.5 on Windows 7.
The problem: I was trying to install a Google Colab module locally, because I wanted to run this notebook on a local runtime, and it needed a module called "google-colab" (evidently this is a lost cause, as the module is not open source). I attempted to install it using conda install -c conda-forge google-colab, which I found here.
It appeared to install something successfully, although the notebook on colab still didn't work. After installing, Anaconda Navigator refused to launch. A command prompt popped up and disappeared instantly, and nothing else happened. I uninstalled, I reinstalled. I followed this procedure. Nothing changed at all.
When I installed Anaconda on a virtual machine with a fresh install of Windows 7 and attempted that same janky install, the exact same thing happened. Any idea how I can get Anaconda navigator back? Anaconda command prompt still works. Thank you!

unable to install openmesh

I am having difficulties installing openmesh. (https://pypi.org/project/openmesh/)
(https://justpaste.it/2lwdi) Attached is the log of command prompt when I tried to execute command
pip install openmesh
I tried conda but same error. I installed Cmake. No change. (I am using Spyder 4.1 on a Windows 10 Machine)
I tried lots of things. Nothing worked.
Then I uninstalled current Anaconda distribution and installed this 3 year older one.
Anaconda3-5.3.1-Windows-x86_64.exe
from https://repo.anaconda.com/archive/
This worked.

How to properly setup Spyder on macOS?

So I installed Spyder with anaconda navigator while following an online python course. However, the teacher's copy seems to feature code completion and documentation and mine does not. I've tried typing pip install Spyder into the terminal to install any dependencies and pip install rope_py3k because another StackOverflow answer suggested doing so. However, my Spyder app still does not have autocompletion. How do I fix this?

PyQt problems with Spyder on Ubuntu 14.04 LTS

I've installed the latest version of Anaconda. The install went smoothly, but when I try to run Spyder I get a couple of run-time errors relating to PySide and PyQt. The final error message is:
RuntimeError: Please check Spyder installation requirements:
PyQt4 4.6+ (or PySide 1.2.0+) is required.
However, when I try to install PyQt, Ubuntu says I have the most up to date version. Also, conda list indicates that I have the following installed (I've excluded the other stuff as it isn't relevant):
pyqt 4.11.4 py35_1
qt 4.8.7 1
So Ubuntu seems to recognise that I have PyQt installed, but Spyder can't 'see' it.
To fix this, I attempted to install spyder3 via the package manager using
sudo apt-get install spyder3
The install completed without any errors, but running spyder3 led to the same PyQt error as before.
Could someone please advise me how to fix this? I'm fairly new to Ubuntu, so am not sure how to link Spyder to the required Qt files.
Finally managed to fix this and figured it was worth posting an update in case anyone else has the same issue.
After installing Anaconda I installed some 3rd party software (moose framework) which requires a series of modules to be loaded. One of these is miniconda.
The presence of miniconda seems to confuse Spyder - and stops it from working. By using:
module unload miniconda
I found that Spyder works as normal.

Categories

Resources