Questions tagged [spyder]

Spyder (previously known as Pydee) is a powerful interactive development environment for the Python language with advanced editing, interactive testing, debugging and introspection features.

The name "Spyder" is for Scientific PYthon Development EnviRonment.

References

5119 questions
29
votes
2 answers

How to display charts in Spyder

Since November 2015, plotly is Open-Source and available for python. https://plot.ly/javascript/open-source-announcement/ When trying to do some plots offline, these work in iPython Notebook (version 4.0.4) But if I try to run them in Spyder…
Gabriel
  • 3,737
  • 11
  • 30
  • 48
29
votes
4 answers

Basics of setting up a Spyder workspace and projects

I have searched for a basic tutorial regarding workspaces and projects in the Spyder IDE. What I want to understand is the basic concepts of how to use the workspace and projects to organize my code. It seems that this is perhaps basic programming…
Fredrik
  • 598
  • 1
  • 5
  • 22
28
votes
13 answers

Spyder returning TypeError after updating to Spyder 4.1.4

This command failed to be executed because an error occurred while trying to get the file code from Spyder's editor. The error was: An exception has occurred, use %tb to see the full traceback. TypeError: handle_get_file_code() got an unexpected…
Max
  • 437
  • 1
  • 4
  • 7
28
votes
8 answers

Trouble updating to Spyder 4.0.0

I am under Windows 10, 64 bits. I tried several time to update Spyder 4.0.0 with both the Anaconda Prompt and the Anaconda Navigator. It failed. I uninstalled Anaconda and reinstalled it. Then I ran the Anaconda Prompt as an Administrator and…
Basile
  • 575
  • 1
  • 6
  • 13
28
votes
12 answers

How to start Spyder IDE on Windows

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…
Raghu
  • 511
  • 2
  • 5
  • 12
28
votes
4 answers

In Spyder, plot using Matplotlib with interactive zoom, etc

I've recently switched from Enthought Canopy to Anaconda and am using the Spyder IDE. I've noticed that when I plot some data, import matplotlib.pyplot as plt plt.figure() plt.plot(rigs2) plt.ion() plt.show() It shows up as an inline figure in the…
Kurt Peek
  • 52,165
  • 91
  • 301
  • 526
27
votes
3 answers

How to write help/description text for Python functions

I recently started programming using Python. I have to write many functions and was wondering how I can incorporate a help or description text such that it appears in the object inspector of spyder when I call the function. In MatLab, this worked by…
user1984653
  • 530
  • 1
  • 5
  • 10
26
votes
3 answers

How do I force Matplotlib to draw while in the ipdb debugger in Spyder (or any other debugger)?

EDIT Unfortunately, at the moment this is not possible. I found out that it is a bug in Spyder. The developers are still figuring out how to approach this. Goal Visualize data while debugging code (and I want to use Spyder too!). Attempt #1: Run…
Peter D
  • 3,283
  • 4
  • 24
  • 23
26
votes
1 answer

How to disable keyword / text suggestion in Spyder 4?

Specifically this popup box: It appears almost every time I type anything, and it's kind of getting in the way. I have disabled code completion in the settings, and uninstalled Kite, and disabled Jedi. Any ideas?
SCool
  • 3,104
  • 4
  • 21
  • 49
26
votes
16 answers

No module named pandas_datareader

I have just installed pandas_datareader using pip install pandas-datareader which ran successfully. Now I am trying to use it for a tutorial and I am getting this error when I try to import. import pandas_datareader as pdr ModuleNotFoundError:…
Goulouh Anwar
  • 737
  • 1
  • 11
  • 21
26
votes
2 answers

How to start spyder ide?

I installed Spyder IDE using the exe installer spyder-2.2.3.win32.exe on Windows 7 , but I can't find the desktop icon. How to start Spyder IDE after installation?
alwbtc
  • 28,057
  • 62
  • 134
  • 188
26
votes
5 answers

How to change the path of Python in Spyder?

I'm using Debian. I installed Python 3.2.3. The path of Python 3 is /usr/bin/python3. How do I change it in Spyder?
Joyfulgrind
  • 2,762
  • 8
  • 34
  • 41
25
votes
1 answer

Missing dependencies causing Keyring error when opening Spyder3 on Ubuntu18?

I'm fairly new to programming and such. I'm trying to use Spyder3, and I keep getting this error (below). I am using Geforce 1080ti, Ubuntu 18.04.01, python3.3.6, python2 is not installed. I tried $ pip3 install keyring, which is now installed but…
Yume
  • 446
  • 1
  • 4
  • 10
25
votes
12 answers

How to get Spyder to open python scripts (.py files) directly from Windows Explorer

I have recently installed the Anaconda distribution on Windows 7 (Anaconda 3-2.4.0-Windows-x86_64). Unlike IDLE, I can't right-click and open a py file in the Spyder IDE. I will have to open Spyder first and then navigate to the file or drag and…
AGandom
  • 455
  • 1
  • 5
  • 8
25
votes
6 answers

Switch to Python 3.x in Spyder

By default Spyder uses Python 2.7.2, and my question is: is there a way to set up Spyder so that it automatically uses Python 3.x? Thanks!
alittleboy
  • 10,616
  • 23
  • 67
  • 107