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
36
votes
3 answers

How to use Google Colaboratory server as python interpreter in Python IDE?

Google Colaboratory currently by default provides Jupyter notebook like interface for code development. But I feel that code development on this interface without advanced IDE features is constraining. If I can use Google Colaboratory as a remote…
GeorgeOfTheRF
  • 8,244
  • 23
  • 57
  • 80
36
votes
18 answers

Spyder Python "object arrays are currently not supported"

I have a problem in Anaconda Spyder (Python). Object type array can not be seen under Windows 10 in the variable explorer. If I click on X or Y, I see an error: object arrays are currently not supported. I have Win 10 Home 64bit (i7-4710HQ) and…
Honza
  • 371
  • 1
  • 3
  • 6
34
votes
1 answer

Spyder, Run script located on remote server

I am starting to use Spyder to edit code located on a remote server. I managed to connect to the kernel of my remote server. In order to be able to open and save (download, upload) the scripts, I installed Expandrive, that mapped the server as if it…
jim jarnac
  • 4,804
  • 11
  • 51
  • 88
34
votes
5 answers

How to run current line in Spyder 3.5( ctrl +f10 not working)

I am very new to Python and I am used to R studio so I choose Spyder. On the Spyder layout I saw a button 'run current line (ctrl +f10)'. But it doesn't work by pressing the button or c+10. Am I missing something? I can only select the script and…
Jim
  • 385
  • 1
  • 3
  • 7
33
votes
5 answers

numpy array dtype is coming as int32 by default in a windows 10 64 bit machine

I have installed Anaconda 3 64 bit on my laptop and written the following code in Spyder: import numpy.distutils.system_info as sysinfo import numpy as np import platform sysinfo.platform_bits platform.architecture() my_array =…
Prana
  • 693
  • 1
  • 7
  • 16
33
votes
1 answer

Is there a keyboard shortcut to switch from editor to console in Spyder?

I'm using Spyder via Anaconda on a Mac, and often switch back and forth between the editor and console. I was wondering if there's a keyboard shortcut to switch quickly between these two panes. It's just not quite convenient to do it with the…
rnels12
  • 639
  • 6
  • 12
33
votes
17 answers

Ipython console in Spyder stuck on "connecting to kernel"

I am new to python and coming from Matlab and I have installed the latest version of Python(x,y) (2.7.9.0) on my Win 8 64 bit PC. The problem that I have is that, each time I start Spyder, the default IPython console gets stuck on "connecting to…
YassineA
  • 331
  • 1
  • 3
  • 5
32
votes
4 answers

How to use argv with Spyder

I'm running the code below in Spyder. I have typed it in a py file and simply hit the run button. When I try to run it I get the error: ValueError: need more than 1 value to unpack As shown here you are meant to give the inputs for the argv variable…
Bazman
  • 2,058
  • 9
  • 45
  • 65
31
votes
5 answers

KeyError / frozen importlib._bootstrap error on second library import in spyder

I receive a File " ", line 978, in _get_parent_path KeyError: 'python_library' error when I import a library from a subfolder the second time in spyder, but the first time (after restarting spyder) or…
Vera
  • 769
  • 1
  • 6
  • 16
30
votes
3 answers

spyder change editor default font/scale/zoom

Is there an option in Spyder to set/change a default script window (editor) scale? I always have to adjust the script display for each script when I open Spyder with ctrl + mouse wheel and it annoys me a lil bit. I searched in Spyder preferences and…
Dmitriy Fialkovskiy
  • 3,065
  • 8
  • 32
  • 47
30
votes
14 answers

Spyder missing Object Inspector

I just installed Anaconda and running Spyder I cannot find the Object Inspector. Hitting Ctrl+I has no effect and in the View/Panes menu there is no item Object Inspector. I have seen videos and tutorials that show the Object Inspector. What is…
Soldalma
  • 4,636
  • 3
  • 25
  • 38
30
votes
6 answers

repositioning panes in Spyder panes

New to Python and Spyder. How do I reposition the panes in Spyder. I had them set with the editor in the upper left, the object inspector in the upper right, and the ipython console in the lower left. Somehow I messed it up, and can't figure out…
jpl458
  • 595
  • 3
  • 9
  • 17
30
votes
9 answers

Ways to invoke python and Spyder on OSX

I recently bought a MacBook and install Python on it via Anaconda. Here's the version information: Python 2.7.6 |Anaconda 1.8.0 (x86_64)| (default, Nov 11 2013, 10:49:09) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin I'd like to be able do all of…
kuzzooroo
  • 6,788
  • 11
  • 46
  • 84
29
votes
4 answers

PIP: "Cannot uninstall 'ipython'. It is a distutils installed project and thus we cannot accurately determine..."

Trying to install spyder using pip: pip install spyder This error pops up: Cannot uninstall 'ipython'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial…
Raphael
  • 1,518
  • 2
  • 14
  • 27
29
votes
6 answers

Spyder installation without Anaconda

I already have Python 3.6 (32-bit) on Windows 7. Is there a way to install Spyder without downloading Anaconda, WinPython, etc. ?
Piotr Koller
  • 599
  • 3
  • 8
  • 17