These are chat archives for spyder-ide/public

17th
Jan 2019
mrbacco
@mmrbacco
Jan 17 20:22
Hi all, I am a newbie nice meeting you all
CAM Gerlach
@CAM-Gerlach
Jan 17 20:23
Hello @mmrbacco , good to have you here. How can we help you with Spyder?
mrbacco
@mmrbacco
Jan 17 20:23
I would like to ask a question: I have a Tinker S board and I am running Spyder 3, I would like to enable Python 3 on it, I am running 2.7 now
I do have python 3.5 installed already
BTW Tinker has a debian distribution
mrbacco
@mmrbacco
Jan 17 20:32
how can I enable python 3?
Thanks! :-)
CAM Gerlach
@CAM-Gerlach
Jan 17 20:32

The specifics on "enabling Python 3" (not sure exactly what you mean by that) on your device would depend on your board and OS, and it doesn't really sound like it has anything to do with the Spyder IDE.

If the appropriate dependencies are installed (via pip or otherwise) Spyder should run just fine on Debian, or any other major Linux distro on which Python is supported, under either Python 2.7 or 3.5 (though we do recommend you think about moving toward 3.6 or 3.7 these days). While a distro-level package is available, its a year out of date and (its Spyder 3.2.6, while the current stable version is 3.3.2 with Spyder 4 already in beta) so we recommend installing via pip.

If its standard Debian, you should be able to just add the Python 3 install to your PATH (if its not already there as python3), create a virtualenv/venv for Spyder, install it via pip install spyder, and then run it via spyder or spyder3. Alternatively, if you're having difficulties, if you're able to install Miniconda on your device as we recommend, you can easily install spyder with just conda install spyder and then launch it via spyder.
mrbacco
@mmrbacco
Jan 17 20:38
Thanks for the answer, what I ean by Enabling Python3 is that mny spyder version uses python 2.7, I would like to use python 3.5 or higher
Oh seen your answers thanks I'll try
CAM Gerlach
@CAM-Gerlach
Jan 17 20:39
If you can, we recommend you install a Python 3 (we recommend 3.6 for now if you don't have a preference) version of Miniconda and then just install Spyder on that, which is much easier and will avoid most problems.
mrbacco
@mmrbacco
Jan 17 20:40
cool I'll try thanks
CAM Gerlach
@CAM-Gerlach
Jan 17 20:40
Best of luck!
Old Guy in the Club
@OldGuyInTheClub
Jan 17 23:25
I have received Python code from a colleague; I can open the file in Spyder and see that it defines many functions. Can Spyder somehow provide a list of all the functions within a .py file? I'm not sure what such a feature would be called so my Googling may be incomplete. If it were a module I could use inspect or this pyCustoms thing I wrote: https://github.com/OldGuyInTheClub/pyCustoms. I think there must be a better way...