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
1
vote
1 answer

subprocess call unable to find dot although it's installed

I'm following this this sample code provided by this article. The IDE is Spyder 4.1.5 with Python 3.8, anaconda got the below exception saying "FileNotFoundError: [WinError 2] The system cannot find the file specified". I'm new to python (and…
James
  • 1,373
  • 3
  • 13
  • 27
1
vote
1 answer

KeyError('pandas._libs.interval') when opening a dataframe in Spyder

When I try to click on data frames in the Variable Explorer in Spyder, I get the following error: This happens with all data frames (I tried making my own). As a side note, functions like numpy.sum and .describe() don't output anything, but I'm…
bejewelled
  • 195
  • 13
1
vote
2 answers

How do I read/write to files in Spyder

1.I am new to coding and I store all my python code in: C:\Users\(MyName)\Documents\Python Scripts 2.I made a txt file in notepad (list.txt) and stored it in the same location 3.I want to read the file so in Spyder: file = open('list.txt',…
emily
  • 11
  • 1
  • 2
1
vote
0 answers

Python Code works in Atom but not in Spyder

I'm in a Python class right now and I was looking at switch from Atom and move to Spyder. My script imports and excel file, throws out 2 columns that I don't care about. I then rename the columns and try to output the results of one column. When I…
moeses
  • 21
  • 1
1
vote
1 answer

Programing error: ('ODBC SQL type 102 is not yet supported. column-index=12 type=102', 'HY106')

I have series of Python and Teradata files that I inherited. Each file is dependent on another. I'm trying to make this a little easier to run and I'm using pyodbc to run the Teradata queries. One of the queries is running fine, but when run another…
1
vote
0 answers

Spyder history log only going back one day?

I lost an unsaved file in Spyder, but usually this should be retrievable from the history.py console since I executed it before losing it. However the log seems to only be going back to the start of current day, whereas I’m pretty sure I remember it…
1
vote
2 answers

Spyder (Anaconda) Not Running because of some errors

When I am trying to run the spyder (Anaconda) I am getting the following Error: Traceback (most recent call last): File "C:\ProgramData\Anaconda3\Scripts\spyder-script.py", line 10, in sys.exit(main()) File…
RAMA
  • 13
  • 4
1
vote
2 answers

Bold comments in Python. Equivalent of MATLAB's '%%' in Python

Can we get bold comments in Python/Spyder IDE? In MATLAB, a comment started with % symbol will be in normal text and a comment starting with %% will be shown in bold. Is there an equivalent symbol for Python Spyder IDE?
user408108
  • 135
  • 11
1
vote
2 answers

How can I point my Spyder IDE to the path where all packages are installed?

I had a massive crash today and lost a lot of work. I couldn't start Spyder after many attempts; even tried 'spyder --reset'. Nothing worked. I decided to download a new version of Anaconda and start over. Now, I'm trying to figure out why I…
ASH
  • 20,759
  • 19
  • 87
  • 200
1
vote
0 answers

**Decrease** size of interface font in Spyder Python IDE?

I'm running Spyder IDE 4.2.0 on a widescreen 3440 x 1440 display. ETA: This is on Windows 10. The console text size is fine. But the font size of the user interface windows is distractingly large, so much so it almost impacts the usability of…
E. Vincenti
  • 377
  • 1
  • 6
  • 11
1
vote
1 answer

Is is possible to use Spyder to develop with Micropython?

Is it possible to use Spyder in conjunction with Micropython? Currently I use an application called Thonny which provides access (and discovery) of my remote (USB) device using a remote interpreter dialog box. I'd like to use Spyder in a similar…
KevinHW
  • 53
  • 7
1
vote
1 answer

Spyder is unable to show the variable you are trying to view

I am using Spyder 4.1.5 with Python 3.8.5 with Anaconda When trying to show the content of a variable in Spyder i get the following error Spyder is unable to show the variable you are trying to view because the module spydercustomize was not…
Vyndell
  • 63
  • 1
  • 7
1
vote
1 answer

Numpy Import Error in Anaconda Environment using Spyder (WINDOWS)

BACKGROUND Just two days ago I was able to run any program that had a numpy dependency. Now when I try to run my code using pandas, matplotlib or any module that depends on numpy, I get the below error: Traceback (most recent call last): File…
swagless_monk
  • 441
  • 6
  • 21
1
vote
1 answer

Issue with plots in Spyder

When I use plt.plot(x,y) I get the following in Spyders plot display by default: However, I want: black axes lines and white background. How do I set this? ax4.axes.get_xaxis().set_visible(True)…
1
vote
0 answers

python plotting and image viewing library with equivalent of MATLABs datatips

Currently, I use MATLAB extensively for analyzing experimental scientific data (mostly time traces and images). However, again and again I keep running into fundamental problems with the MATLAB language and I would like to make the switch to python.…
Octaviour
  • 745
  • 6
  • 18