Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Python 3.5.1 and Spyder Problems
- FenrisUltra
- Posts: 72
- Joined: 2016-02-19 01:29
- Location: Winnipeg, Manitoba (Canada)
- Been thanked: 1 time
- Contact:
Python 3.5.1 and Spyder Problems
Hey,
I have just recently installed Anaconda 3.5 on Debian 8 with spyder. However when I load spyder I cannot get the programming front to point to Python 3.5, it always loads with 2.7. The funny thing is, if I am using Xubuntu, starting sypder from a terminal always points to 3.5 by default. I don't know why Debian is giving me trouble. Does anyone know how to fix this?
Thank you
I have just recently installed Anaconda 3.5 on Debian 8 with spyder. However when I load spyder I cannot get the programming front to point to Python 3.5, it always loads with 2.7. The funny thing is, if I am using Xubuntu, starting sypder from a terminal always points to 3.5 by default. I don't know why Debian is giving me trouble. Does anyone know how to fix this?
Thank you
Last edited by FenrisUltra on 2016-02-21 06:37, edited 3 times in total.
-
- Posts: 124
- Joined: 2015-01-24 03:10
Re: Python 3.5.1 and Spyder Problems
There are two versions of spyder in the repos, "spyder" and "spyder3." Spyder points to Python 2, and spyder3 uses python 3.
You might want to check and make sure you've got the version of spyder you want.
You might want to check and make sure you've got the version of spyder you want.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Python 3.5.1 and Spyder Problems
Jessie also has python3 3.4.2, not 3.5.
MX Linux packager and developer
- FenrisUltra
- Posts: 72
- Joined: 2016-02-19 01:29
- Location: Winnipeg, Manitoba (Canada)
- Been thanked: 1 time
- Contact:
Re: Python 3.5.1 and Spyder Problems
Ooooooh, I didn't know that.
Well I did sudo apt-get install spyder3 then did sudo apt-get remove spyder, I type spyder3 in my terminal window and all my problems fixed itself...
Thank you!
Well I did sudo apt-get install spyder3 then did sudo apt-get remove spyder, I type spyder3 in my terminal window and all my problems fixed itself...
Thank you!
-
- Posts: 124
- Joined: 2015-01-24 03:10
- FenrisUltra
- Posts: 72
- Joined: 2016-02-19 01:29
- Location: Winnipeg, Manitoba (Canada)
- Been thanked: 1 time
- Contact:
Re: [SOLVED] Python 3.5.1 and Spyder Problems
Sorry, I thought my problem was fixed and it apparently is not...
This is what I need Python to do, and this works in my Xubuntu build...
How ever with python 3 in my Debian 8 build I get this...
Spyder 3 is not linking to the Anaconda library set which is causing some of my codes to malfunction, I don't know how to fix this...
Sorry, I thought my problem was solved but it's not quite done yet
This is what I need Python to do, and this works in my Xubuntu build...
Code: Select all
Python 3.5.1 |Anaconda 2.4.1 (64-bit)| (default, Dec 7 2015, 11:16:01)
Type "copyright", "credits" or "license" for more information.
IPython 4.0.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
%guiref -> A brief reference about the graphical user interface.
Code: Select all
Python 3.4.2 (default, Dec 8 2014, 10:45:20)
Type "copyright", "credits" or "license" for more information.
IPython 2.3.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
%guiref -> A brief reference about the graphical user interface.
Sorry, I thought my problem was solved but it's not quite done yet
-
- Posts: 124
- Joined: 2015-01-24 03:10
Re: Python 3.5.1 and Spyder Problems
How did you install Anaconda in Debian 8? I'll try the same and see what I get.
- FenrisUltra
- Posts: 72
- Joined: 2016-02-19 01:29
- Location: Winnipeg, Manitoba (Canada)
- Been thanked: 1 time
- Contact:
Re: Python 3.5.1 and Spyder Problems
Just like the instructions say on the site....
1) I clicked on the button on this site https://www.continuum.io/downloads to download Anaconda 3.5 (64 bit) for Linux, and that it's sitting in the Download folder right now
2) Open a terminal window and type cd Downloads
3) Then typed bash Anaconda3-2.5.0-Linux-x86_64.sh
4) I then typed in (after Anaconda had finished installing)... sudo apt-get install spyder
Normally this is all I needed to do to make Anaconda work in Xubuntu 14.04 and 15.04, the short cuts would never work in the menu as they always pointed to Python 2.7 but if I loaded spyder from a terminal, I got 3.5 with the interface pointing to the Anaconda library.
This is when I ran into the problems that you explained....
5) I then typed in sudo apt-get install spyder3 then did sudo apt-get remove spyder
6) Then I typed in spyder3 to load up the interface
That is when I started running my programs in python only to find out they weren't functioning properly, I then looked at the IPython console and noticed there was no reference to the Anaconda library of any kind. Thats when I removed [SOLVED] from the title and asked for more help
I went back to my Xubunu 15.04 system and typed in conda and noticed I was able to communicate with Anaconda through the terminal window, I tried to do the same thing with my Debian 8 system and the terminal didn't recognize the conda commands at all
Should I have done sh then load in the root password, after being loaded into root, then type in bash Anaconda3-2.5.0-Linux-x86_64.sh? If so, how do I remove the Anaconda library so I start over?
1) I clicked on the button on this site https://www.continuum.io/downloads to download Anaconda 3.5 (64 bit) for Linux, and that it's sitting in the Download folder right now
2) Open a terminal window and type cd Downloads
3) Then typed bash Anaconda3-2.5.0-Linux-x86_64.sh
4) I then typed in (after Anaconda had finished installing)... sudo apt-get install spyder
Normally this is all I needed to do to make Anaconda work in Xubuntu 14.04 and 15.04, the short cuts would never work in the menu as they always pointed to Python 2.7 but if I loaded spyder from a terminal, I got 3.5 with the interface pointing to the Anaconda library.
This is when I ran into the problems that you explained....
5) I then typed in sudo apt-get install spyder3 then did sudo apt-get remove spyder
6) Then I typed in spyder3 to load up the interface
That is when I started running my programs in python only to find out they weren't functioning properly, I then looked at the IPython console and noticed there was no reference to the Anaconda library of any kind. Thats when I removed [SOLVED] from the title and asked for more help
I went back to my Xubunu 15.04 system and typed in conda and noticed I was able to communicate with Anaconda through the terminal window, I tried to do the same thing with my Debian 8 system and the terminal didn't recognize the conda commands at all
Should I have done sh then load in the root password, after being loaded into root, then type in bash Anaconda3-2.5.0-Linux-x86_64.sh? If so, how do I remove the Anaconda library so I start over?
- FenrisUltra
- Posts: 72
- Joined: 2016-02-19 01:29
- Location: Winnipeg, Manitoba (Canada)
- Been thanked: 1 time
- Contact:
Re: Python 3.5.1 and Spyder Problems
Yes fire, I understand what your saying...but it doesn't fix the problem now does it?
That is not acceptable, python 3.5 needs to work, it needs to connect to Anaconda. I need a solution to that problem even if I have to ram it down it's throat. I don't care how it can't be done... I care only how it can be doneJessie also has python3 3.4.2, not 3.5.
-
- Posts: 124
- Joined: 2015-01-24 03:10
Re: Python 3.5.1 and Spyder Problems
Sorry, but that's not showing an understanding of the Debian Way. Jessie is "Stable" for a reason--the software is old but trustworthy.
If you really need Python 3.5, create a Debian Stretch VM. It has python 3.5.1-1. Then from there, work to connect it to Anaconda. It'll be a lot simpler than using things like pyenv or similar tools, will be more stable (I believe--Stretch is "Debian Testing" after all, but you're more likely to tear something up if you try and install multiple python3's in your Debian Stable box), and should work much better.
If you really need Python 3.5, create a Debian Stretch VM. It has python 3.5.1-1. Then from there, work to connect it to Anaconda. It'll be a lot simpler than using things like pyenv or similar tools, will be more stable (I believe--Stretch is "Debian Testing" after all, but you're more likely to tear something up if you try and install multiple python3's in your Debian Stable box), and should work much better.