I have installed spyder and pyqt5 with
pip install spyder
pip install pyqt5
Then I run in the command line
spyder3
But nothing happens
How can I start spyder on windows?
Thanks
Go to this location and make a short cut:
C:\Python36\Lib\site-packages\spyder\app\start.py
Replace Python36 with the folder in which you installed python. If you double click on start.py it will run spyder.
Edit: you can find the spyder .ico online and use it for the shortcut.
Related
Python beginner here. I would like to use Spyder as my Python IDE. Alas the standalone version does not include pip and I want to work with "Vanilla Python" rather than Anaconda. So I installed Spyder via
pip install spyder, which works fine. However, when running spyder3 in the command window, nothing happens. I get no error, but Spyder does not launch either. While the Spyder website says custom installation may be tricky, it does not provide a guide on how to get it done. Does someone know how? OS is Windows 10.
you need to follow this commands:
python -m venv spyder-env
spyder-env/Scripts/activate.bat
pip install spyder
more info
Update: Tried again with Python 3.10.4. "spyder" now exists in the Scripts folder and does launch when typing spyder in cmd. Works for me now.
Why the spyder and Ipython is crash after pip install PyQt4 whl from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4 ? It showed that no response when double click spyder or Ipython icons.
I have try several times in Windows 7, used Winpython,version is python 3.6.
Though the spyder is broken, the python default shell could import PyQt4 modules. Maybe the PyQt4 conflict with spyder?
hum, if you try to get it run with PyQt4, maybe "pip uninstall PyQt5", and even remove directory "python-3.6.4.amd64\Lib\site-packages\PyQt5" manually after that.
From my experience if you have Spyder 3 and both PyQt4 and PyQt5 libraries installed this causes problems launching Spyder and thats why it is crashing. Either try updating Spyder 3 to Spyder 4 or uninstall PyQt5.
I downloaded spyder using the
pip install spyder
in my windows 10 32-bit operating system, but i dont see any desktop icons or exe files to start running the IDE. I downloaded spyder 3, any my python is 3.6.
I even tried creating a shortcut of spyder.exe from the Python3.6/Scripts folder, but it won't open.
The name of the spyder executable was changed to spyder3.exe in python version 3.
I install pyqt5 and spyder via pip and was able to launch spyder3. I first tried without installing pyqt5 and nothing happened. Once I installed pyqt5, then spyder 3 opened.
Try the following from a windows cmd.exe prompt:
C:\Users\..>pip install pyqt5
C:\Users\..>pip install spyder
C:\Users\..>spyder3
I had the same problem after setting up my environment on Windows 10. I have Python 3.6.2 x64 installed as my default Python distribution and is in my PATH so I can launch from cmd prompt.
I installed PyQt5 (pip install pyqt5) and Spyder (pip install spyder) which both installed w/out error and included all of the necessary dependencies.
To launch Spyder, I created a simple Python script (Spyder.py):
# Spyder Start Script
from spyder.app import start
start.main()
Then I created a Windows batch file (Spyder.bat):
#echo off
python c:\<path_to_Spyder_py>\Spyder.py
Lastly, I created a shortcut on my desktop which launches Spyder.bat and updated the icon to one I downloaded from the Spyder github project.
Works like a charm for me.
Try these commands in order
pip3 install spyder
spyder3
Try the command spyder3
If you check the scripts folder you'll find spyder3.exe
As stated in the documentation of Spyder, you need to install PyQt5 first.
Open a Command Prompt as Administrator, then run:
pip install pyqt5
pip install spyder
Then you can find the spyder3.exe in the Python3.6/Scripts folder. You can also make a shortcut to it. No need for Anaconda.
method 1:
spyder3
method 2:
python -c "from spyder.app import start; start.main()"
method 3:
python -m spyder.app.start
Open a command prompt. Enter the command spyder. Does anything appear? If an exception is preventing it from opening, you would be able to see the reason here. If the command is not found, update your environment variables to point to the Python3.6/Scripts folder, and run spyder again (in a new cmd prompt).
If you are using Anaconda execute the following commands and your life will be saved!
conda update qt pyqt
conda update spyder
In case if you want the desktop icon
In desktop, create a new shortcut, in Location paste this
%comspec% /k spyder3
then type the name Spyder,
Now you may have Desktop Icon for opening Spyder
After pip install spyder give this command
pip install --upgrade spyder
This command will update all Spyder dependencies.
Now in command prompt(cmd) navigate to the scripts folder in your python directory. In my system the path is C:\Users\win10\AppData\Local\Programs\Python\Python36-32\Scripts so i use the following command in command prompt.
cd C:\Users\win10\AppData\Local\Programs\Python\Python36-32\Scripts
once you are inside scripts directory type spyder3 and press enter and spyder ide starts.
C:\Users\win10\AppData\Local\Programs\Python\Python36-32\Scripts>spyder3
on windows,
pip install --upgrade spyder
in powershell, start python shell, by typing python
from spyder.app import start
start.main()
That't it.
Install Ananconda packages and within that launch spyder 3 for first time. Then by second time you just click on spyder under anaconda in all programs.
I am on a machine running Yosemite. I manage my python environment with Canopy Enthought. I'm trying to install Spyder, so I don't have to use the Editor that comes with Canopy.
I opened a Canopy terminal and used pip install spyder which went fine.
How do I actually start Spyder? When I use pip list I can see the Spyder package.
spyder
spyder.py
python spyder.py
ect. does not work.
Thanks in advance.
python -c "from spyderlib import start_app; start_app.main()"
I want to open spyder(Python IDE) in ubuntu.
Normally I would write "spyder" in the shell, and it would open the spyder IDE.
Now when I write spyder in the shell, it just new lines, and nothing happens(similar to pressing 'enter').
--- How do I get my spyder back?
EDIT - I get no errors, it just skips to the next line.
If typing "spyder" doesn't work, you might want to try typing "spyder3" in case you installed the spyder3 version. Below is what worked for me in my Ubuntu system.
To install spyder via pip (my python version is 3.6.2), I used:
pip install spyder
Then, I had to install another package:
pip install PyQtWebEngine
Finally, to open the Spyder window, I typed into my terminal:
spyder3
You may simply have to update spyder.
If you are NOT using anaconda:
pip install --update spyder
Or, if you are in anaconda:
conda update spyder
I had the same issue as yours, with also a message in the command line saying:
Spyder is already running. If you want to open a new
instance, please pass to it the --new-instance option
The above update allowed me to open spyder from the command line.
I had this problem as well, and found this post on it in an askubuntu forum. It suggested using sudo apt-get purge spyder to delete any faulty configuration files and then reinstall with sudo apt-get install spyder. I found it worked, and spyder reopened with my previous files on the text editor.
in Ubuntu, just go to your,
cd home/<your account>
then go to .spyder2 folder
cd spyder2
should get you there
in terminal, type la in terminal(ls doesn't show the hidden files ) and use,
rm -f spyder.lock
to delete
A simple way to install spyder is:
sudo apt install spyder
now uninstall spyder and do this :
#first install spyder
sudo apt install spyder
#updata your conda
conda update anaconda
#updata spyder
conda update spyder
#then write this and wait
spyder
use this link
or if you do not have conda use thislinl=k
To launch spyder in bash console, just enter:
spyder .
in the bash console.