Re: [spyder] Re: Python Version

2021-06-08 Thread Basil Carayannis
It worked, thanks! Basil C. Sent from my iPhone  > On Jun 7, 2021, at 11:08, 'Florian Obersteiner' via spyder > wrote: > > You can select another Python interpreter (i.e. environment) under > Preferences -> Python Interpreter. This one can be different from the one you > run Spyder from.

Re: [spyder] Re: Python Version

2021-06-07 Thread 'Florian Obersteiner' via spyder
You can select another Python interpreter (i.e. environment) under Preferences -> Python Interpreter. This one can be different from the one you run Spyder from. Cheers, F Am June 7, 2021 2:17:27 PM UTC schrieb yfprojects : >Hello, > >I don't know whether there is a way to upgrade Spyder's pyt

[spyder] Re: Python Version

2021-06-07 Thread yfprojects
Hello, I don't know whether there is a way to upgrade Spyder's python if you are using the stand-alone version. But you can use Anaconda and its Spyder version instead. You can follow these instructions (without the steps for

[spyder] Re: Python problem with if and dictionnary

2019-09-23 Thread Michiel Karrenbelt
it's a good idea to learn some python syntax basics first by following a tutorial 1. dict is a built-in that you are overwriting, not a good idea * d = {"name": "Adem", "surname": "Ben rhouma"} 2. "Name" == "Adem" will never be equal, you need to look it up in the dictionary * if d["name"] ==

[spyder] Re: Python problem with if and dictionnary

2019-09-23 Thread Michiel Karrenbelt
it's called syntax, look it up On Monday, 23 September 2019 00:17:48 UTC+2, Reldaing wrote: > > Hi , I have a little problem with my code , can you explain the problem to > me and help to fix it please ? What should I do ? Thanks > -- You received this message because you are subscribed to the

Re: [spyder] Re: python

2018-11-12 Thread V Amo BTS
Michiel, I changed the path to the interpreter I wanted to run (python 2.7 , 3, 3.6 ) and the problem still happens. Any other suggestion? Thank you, Em dom, 11 de nov de 2018 às 16:23, Michiel Karrenbelt < m.a.p.karrenb...@gmail.com> escreveu: > within spyder -> preferences -> python interpret

[spyder] Re: python

2018-11-12 Thread V Amo BTS
Em domingo, 11 de novembro de 2018 15:34:09 UTC-2, Robert Corbier escreveu: > > Bonjour > spider a la version 3.7 de python comment revenir à la verdion3.6.0? > > Robert, I think it is not the case, because I changed the spyder versions and the problem still happens. Anyway, I'm using spyder 4.

[spyder] Re: python

2018-11-12 Thread V Amo BTS
Em domingo, 11 de novembro de 2018 15:34:09 UTC-2, Robert Corbier escreveu: > > Bonjour > spider a la version 3.7 de python comment revenir à la verdion3.6.0? > > Sorry for not answering you before. It seems the python3.6.6 can not find OpenCL 2.1,, the spyder version is 3.2.6. It happens after

[spyder] Re: python

2018-11-12 Thread V Amo BTS
Em domingo, 11 de novembro de 2018 15:34:09 UTC-2, Robert Corbier escreveu: > > Bonjour > spider a la version 3.7 de python comment revenir à la verdion3.6.0? > > Michiel, I changed the interpreter, but it didn't help! any other suggestion? Thanks in advance. -- You received this message beca

[spyder] Re: python

2018-11-11 Thread Michiel Karrenbelt
within spyder -> preferences -> python interpreter then switch from default to "use the following interpreter:" and specify the path to a python interpreter of your choice On Sunday, 11 November 2018 18:34:09 UTC+1, Robert Corbier wrote: > > Bonjour > spider a la version 3.7 de python comment re

[spyder] Re: python package development in spyder: locally undefined variables

2018-10-08 Thread lueromat
Sorry, my bad, dumb noob error: with from pkg.utils import * in script.py it works fine. Am Montag, 8. Oktober 2018 00:40:43 UTC+2 schrieb lueromat: > > Hi all, > > I have written a python package with the following structure: > > pkg/ > __init__.py > script.py > utils.py > > Durin

[spyder] Re: python plotting and visual module

2017-05-02 Thread jhanly
I tried using the VISUAL module again but this time with another application. I got same results so it appears that this is not a Spyder problem. Plotting works fine using matplotlib but not visual. On Monday, May 1, 2017 at 2:09:14 PM UTC-4, jhanly wrote: > > I've been running python scripts

[spyder] Re: python plotting and visual module

2017-05-02 Thread jhanly
if anyone has used the VISUAL module (comes with VPython) please let me know if it worked and how you used it. On Monday, May 1, 2017 at 2:09:14 PM UTC-4, jhanly wrote: > > I've been running python scripts and plotting using "from pylab import > plot,show" and all works great in either the pytho

Re: [spyder] Re: python 3.6 and Spyder

2017-04-02 Thread Carlos Córdoba
Hi, If you installed Spyder using Anaconda, you need to open a terminal (Terminal.app) and run this command conda update spyder However, if you used any other method, you need to run this command pip install -U spyder Cheers, Carlos El 02/04/17 a las 13:39, Lucy escribió: I am als

[spyder] Re: python 3.6 and Spyder

2017-04-02 Thread Lucy
I am also brand new to Python and Spyder and use a Mac. I have Python 3.6, and Spyder 3.1.2. I get a message that version 3.1.3 is available, but I am having difficulties with the update. The instructions available assume that the reader is already a programmer, which I'm not. Thanks for your he

[spyder] Re: Python is not throwing errors

2016-10-04 Thread RL13
Figured it out...new python update for anaconda 2.7 3.0.0. Instead of run try !python. Has been working fine for me since I started using this. On Monday, October 3, 2016 at 8:08:11 PM UTC-4, RL13 wrote: > > hello, > I am relatively new to python and am having some trouble. I recently > downlo

[spyder] Re: Python 2 versions

2016-09-24 Thread Jitse Niesen
On Saturday, 24 September 2016 09:44:07 UTC+1, dhariya...@gmail.com wrote: > > Hi, I am using Spyder3(Python 3.5). But unable to import sklearn. How to > import it. When I go to my terminal and type "python -V" it gives python > 2.7 as output. > So, where to go and install Python 3.5 sklearn pack

Re: [spyder] Re: Python 3.3 in Spyder 2.3?

2016-06-22 Thread Carlos Córdoba
Hi, Source installations, i.e. the ones you do with python setup.py install don't install our dependencies and are really meant for power users. Please run this command instead pip install --pre -U spyder to install our latest beta with all our dependencies. Cheers, Carlos El 22/0

[spyder] Re: Python 3.3 in Spyder 2.3?

2016-06-22 Thread subhas sahoo
https://bitbucket.org/spyder-ide/spyderlib/downloads spyder-3.0.0b3.tar.gz and instatted : Python35-32 spyder-3.0.0b3>python setup.py install up.py install WARNING: unable to build documentation because Sphinx is not installed running install running build running build_py ru

[spyder] Re: Python console in osx : problem with encoding

2013-09-08 Thread stonebig34
Hi Pierre-Henri You see an inconsistency between 'python2.7' and 'spyder python2.7' behaviour. '\xe9' is the code of "é" in 'latin1'. '\xc3\xa9' is the code of "é" in unicode 'utf-8' Try this , so we can see if you have indeed a 'latin1' or 'cp1252' showing up somewhere in your config. >>>im

[spyder] Re: Python 3 Support

2013-06-29 Thread stonebig34
Hello Jed, 4 remarks : * I'm a user of spyder through winpython (so python 2.7 and 3.3) on my windows machines, and possibly through anaconda (so python 2.7 and 3.3) for Linux machines. * no existing spyder user will be impacted by a python 3.3 only solution, * as a user moving from python 2.7

[spyder] Re: Python 3 Support

2013-06-29 Thread Tel Kit
In my opinion, Python 3.3 is sufficient and even more so if it makes the code cleaner. It's fairly easy for Python 3.2 code to switch to 3.3 and all major libraries that are available for 3.2 are also available for 3.3. Actually, I think 3.3 is the version where Python 3 has started to mature.

Re: [spyder] Re: Python 3 support

2013-01-01 Thread Pierre Raybaut
2013/1/1 David Verelst : > It is exciting to read about all the interesting things you are working on, > and what you have in the pipeline for spyder! > > I was trying to add a review comment to the last commits, but I realized I > am probably not allowed to do so. So I'll do it here instead: > > h

Re: [spyder] Re: Python 3 support

2013-01-01 Thread David Verelst
It is exciting to read about all the interesting things you are working on, and what you have in the pipeline for spyder! I was trying to add a review comment to the last commits, but I realized I am probably not allowed to do so. So I'll do it here instead: https://code.google.com/p/spyderlib/so

Re: [spyder] Re: Python 3 support

2013-01-01 Thread Pierre Raybaut
FYI, the latest revision of the v21 branch is now compatible with Python 3. There are certainly a few bugs left, but nothing critical AFAIK: it's quite stable. Happy new year! -Pierre 2012/12/31 Carlos Córdoba : > Yes, please make a 2.2 branch and leave the default repo for 2.3. This way > we cou

Re: [spyder] Re: Python 3 support

2012-12-31 Thread Carlos Córdoba
Yes, please make a 2.2 branch and leave the default repo for 2.3. This way we could push 2.2 for the next Ubuntu release and leave 2.3 for 13.10. Sadly we are six months behind our roadmap but the only development left for me is fixing the editor bugs I introduced when we branched 2.2, i.e. colon a

Re: [spyder] Re: Python 3 support

2012-12-29 Thread Jed Ludlow
> I suppose I can push two different repo/directories (which are clones of > each other, originally) to the remote GoogleCode repository without having > to synchronize them first, providing the fact that I'm committing on two > different named branches. So it would not change my old habits to move

Re: [spyder] Re: Python 3 support

2012-12-29 Thread Pierre Raybaut
Le 28 déc. 2012 à 17:51, Jed Ludlow a écrit : I've just been able to run the application without an (immediate) > error: > http://spyderlib.googlecode.com/files/spyder_python3-1.png > > It's quite encouraging but I think there are a lot of remaining > issues. > I won't push too far on the v21 br

Re: [spyder] Re: Python 3 support

2012-12-29 Thread Pierre Raybaut
Le 29 déc. 2012 à 05:56, "Carlos Córdoba" a écrit : I'll be fine with maintaining just one repo. It'd make our lives easier but our current model is not that bad either. Like Carlos, I am tempted by the "named branches" approach but I'm also fine with our current model. Moreover, as I understa

Re: [spyder] Re: Python 3 support

2012-12-28 Thread Carlos Córdoba
I'll be fine with maintaining just one repo. It'd make our lives easier but our current model is not that bad either. Guys, I'll be mostly offline for three or four days. I was reviewing Jed's branches but i couldn't finish them. I'll try to merge them but can't promise anything, sorry. Chee

Re: [spyder] Re: Python 3 support

2012-12-28 Thread Carlos Córdoba
I agree with Jed, I think this is the time to branch 2.2 and leave the work on python3 for 2.3. Else it would take us longer to release 2.2, when I think we've almost finished all things left to be done. Cheers, Carlos El 28/12/12 11:51, Jed Ludlow escribió: I've just been able to run th

Re: [spyder] Re: Python 3 support

2012-12-28 Thread Jed Ludlow
> I've just been able to run the application without an (immediate) > error: > http://spyderlib.googlecode.com/files/spyder_python3-1.png > > It's quite encouraging but I think there are a lot of remaining > issues. > I won't push too far on the v21 branch but it's very useful to proceed > like thi

[spyder] Re: Python 3 support

2012-12-28 Thread Pierre Raybaut
Ok, I'm currently experimenting the Python 3 migration process of Spyder on the v21 branch. I've just been able to run the application without an (immediate) error: http://spyderlib.googlecode.com/files/spyder_python3-1.png It's quite encouraging but I think there are a lot of remaining issues. I

[spyder] Re: Python 3.x support

2012-05-27 Thread Pierre Raybaut
Hi, Please see this discussion thread: https://groups.google.com/group/spyderlib/browse_thread/thread/94f983a70b2f5c91 -Pierre Le dimanche 27 mai 2012 22:03:30 UTC+2, Tal Bar-Or a écrit : > > Hello, > > First

[spyder] Re: Python 3.x support

2012-05-07 Thread David
Hello Brandon, Thanks for doing this work, spyder is one of my favourite tools and I wouldn't think about moving to python 3 without it! I was just checking out the guidelines for porting to python 3: http://wiki.python.org/moin/PortingPythonToPy3k It seems that you are taking approach 3 from

[spyder] Re: Python 3.x support

2012-04-30 Thread Brandon Parsons
OK. So, I cloned a copy locally, ran 2to3, and started making fixes for the remaining stuff that prevented it from even running. At this point, 'light' mode seems to work OK, but there are occasional crashes in the full mode, sometimes behavior depends on whether --chowconsole or -d are used, as to

Re: [spyder] Re: Python and IPython consoles in spyder do not load libraries correctly unless working dir set to match location

2012-04-03 Thread Carlos Córdoba
Hi, I think Spyder declares and uses its own PYTHONPATH. You can see what you have in it going to: Tools > PYTHONPATH manager Glad to hear everything worked after all for you. Cheers, Carlos El 03/04/12 10:51, lcorrigan escribió: It seems the console(s) found the code after all. Although m

[spyder] Re: Python and IPython consoles in spyder do not load libraries correctly unless working dir set to match location

2012-04-03 Thread lcorrigan
It seems the console(s) found the code after all. Although my console working directory is not currently the same as my testlib folder, the consoles auto-magically started showing the class members and functions in autocomplete etc. I did a number of trials before my first post where I'd chan

[spyder] Re: Python can't seem to find spyder.py on OSX

2012-03-15 Thread Kevin H
Ah great. Someone might want to add that tiny but crucial tidbit to the docs here: http://packages.python.org/spyder/installation.html Thanks! -Kevin On Mar 14, 10:06 am, Carlos Córdoba wrote: > Hi Kevin, > > You don't need to run spyder with: > > $ python spyder,py > > After installing it with

Re: [spyder] Re: Python files open with spyder by default

2011-02-23 Thread Carlos Córdoba
I'm really glad to hear you like Spyder so much. I found it as you also did: after trying a lot of possible solutions to do my own scientific work in python: Sage, Codenode, Femhub, Emacs, Komodo, Ipython alone, etc. Now it's my only IDE! Pierre (the lead project) wrote about a simple set of t

[spyder] Re: Python files open with spyder by default

2011-02-22 Thread barefootedbandit
Great, thank you. Let me just add: I am a scientist and I've been testing every possible Python IDE I could find for the past few weeks. I put Spyder up at the top of the list, even compared to the commercial IDEs. Once this issue is fixed, I'll be using Spyder exclusively for my work. Great job g

[spyder] Re: Python crashes when running TKinter

2010-03-06 Thread Pierre Raybaut
Edit: matplotlib's interactive mode does not work in the external console on *Windows only* On 6 mar, 10:28, Pierre Raybaut wrote: > Actually PyQt's event loop interfers with Tkinter's (as it would > interfer with wxPython's or GTK's, ...). > > The interactive console allows to embed easily PyQt

[spyder] Re: Python crashes when running TKinter

2010-03-06 Thread Pierre Raybaut
Actually PyQt's event loop interfers with Tkinter's (as it would interfer with wxPython's or GTK's, ...). The interactive console allows to embed easily PyQt windows in Spyder's GUI layout (e.g. dockable matplotlib figures) and has some exclusive interactive features (matplotlib's interactive mode

[spyder] Re: Python crashes when running TKinter

2010-02-18 Thread Reinhard Oldenburg
Ok, using an external interpreter everything works as expected. Still I don't understand what is going on: As spyder is a QT program, it shuld not interfer with Tkinter. Morover, I'm not sure about what are the disadvantages of using an external interpreter. Reinhard On 17 Feb., 22:36, Pierre Rayb

[spyder] Re: Python crashes when running TKinter

2010-02-17 Thread Pierre Raybaut
On Feb 17, 2:27 pm, Reinhard Oldenburg wrote: > I'm new to this group and first I'd like to say that Spyder is a great > IDE especially for education. > > However, there is a problen with using TK based programs. > > I use Spyder 1.0.3 on Python 2.6 on Vista. Many Tkinter progra,ms > crash the pyt

[spyder] Re: python shell widget

2009-12-22 Thread Jeremy
I think the issue was how to interact with QT Designer. When instantiating the InteractiveShell I needed to pass an empty dictionary for the namespace argument and an empty list for commands. To make this work with QT designer I had to subclass InteractiveShell. The subclass, IShellSub, had an init