Re: [spyder] I just ran spyder-2.1.14dev5.win32-py3.3.exe. Now what?

288 views
Skip to first unread message

Adrian Klaver

unread,
May 19, 2013, 10:51:53 AM5/19/13
to spyd...@googlegroups.com
On 05/18/2013 05:04 PM, Bob Gailer wrote:
> How do I start spyder? I can't find any useful guidance. As an
> experiment I tried from a command prompt:
>
> C:\Python33\Lib\site-packages\spyderlib>spyder.py
> Traceback (most recent call last):
> File "C:\Python33\Lib\site-packages\spyderlib\spyder.py", line 30, in
> <module>
>
> from spyderlib.utils.programs import is_module_installed
> ImportError: No module named spyderlib.utils.programs
>
> Was that the correct way to start it? If so how do I fix the problem?

As far as I know Spyder only works with Python 2.x from 2.5+ and not 3.X
which might be your problem if I am correct in assuming C:\Python33\ is
for Python 3.3.


Under Python 2.x I just type spyder at a command prompt:

aklaver@panda:~> spyder


where:

aklaver@panda:~> whereis spyder
spyder: /usr/local/bin/spyder


--
Adrian Klaver
adrian...@gmail.com

Carlos Córdoba

unread,
May 19, 2013, 12:53:13 PM5/19/13
to spyd...@googlegroups.com
Hi Bob,

You just need to type

spyder

in a command prompt (without going to your site-packages), and that
should open it.

Cheers,
Carlos

El 18/05/13 19:04, Bob Gailer escribió:
> How do I start spyder? I can't find any useful guidance. As an
> experiment I tried from a command prompt:
>
> C:\Python33\Lib\site-packages\spyderlib>spyder.py
> Traceback (most recent call last):
> File "C:\Python33\Lib\site-packages\spyderlib\spyder.py", line 30,
> in <module>
>
> from spyderlib.utils.programs import is_module_installed
> ImportError: No module named spyderlib.utils.programs
>
> Was that the correct way to start it? If so how do I fix the problem?
>
> Why is this essential information (how to start) not documented?
>
> How do I fix the documentation?
> --
> You received this message because you are subscribed to the Google
> Groups "spyder" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to spyderlib+...@googlegroups.com.
> To post to this group, send email to spyd...@googlegroups.com.
> Visit this group at http://groups.google.com/group/spyderlib?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Adrian Klaver

unread,
May 19, 2013, 2:28:08 PM5/19/13
to spyd...@googlegroups.com, Bob Gailer
On 05/18/2013 05:04 PM, Bob Gailer wrote:
> How do I start spyder? I can't find any useful guidance. As an
> experiment I tried from a command prompt:
>
> C:\Python33\Lib\site-packages\spyderlib>spyder.py
> Traceback (most recent call last):
> File "C:\Python33\Lib\site-packages\spyderlib\spyder.py", line 30, in
> <module>
>
> from spyderlib.utils.programs import is_module_installed
> ImportError: No module named spyderlib.utils.programs
>
> Was that the correct way to start it? If so how do I fix the problem?
>

My mistake on the Python version compatibility, just noticed the version
info in the subject.

--
Adrian Klaver
adrian...@gmail.com

Bob Gailer

unread,
May 21, 2013, 3:51:20 AM5/21/13
to spyd...@googlegroups.com
Thanks for your offerings. Nothing suggested helps. Please give my question more thought. I must not be the only one trying to run spyder-2.1.14 under Windows. If you have succeeded please tell me what you did. If you are also stuck, please tell me.

Does the traceback I posted tell you anything?

I saw someplace a reference to bootstrap.py I do not have that file.

Usually windows installers place a shortcut either on the desktop or in the start->programs menu or in the qucklaunch areaUsually these point to an exe.

I don't see any of these, nor any exe. I realize this is free software, but it is frustrating to get excited about something and then his a wall.

Pierre Raybaut

unread,
May 21, 2013, 5:32:47 AM5/21/13
to spyd...@googlegroups.com
You may try the new 2.3.0dev1 experimental release... but it's still experimental:


2013/5/21 Bob Gailer <bga...@gmail.com>

--

Bob Gailer

unread,
May 24, 2013, 8:02:09 PM5/24/13
to spyd...@googlegroups.com
I thank you for your effort. I ran spyder-2.3.0dev1.win32-py3.3.exe.

I still do not know what to do to RUN spyder after the installation. What do  you do to run it?

When I run spyder.py I get:

C:\Python33\Lib\site-packages\spyderlib>spyder.py
Traceback (most recent call last):
  File "C:\Python33\Lib\site-packages\spyderlib\spyder.py", line 35, in <module>


    from spyderlib.utils.programs import is_module_installed
ImportError: No module named spyderlib.utils.programs

I'm very frustrated, as I really want to use spyder. What am I missing?

Adrian Klaver

unread,
May 24, 2013, 8:16:56 PM5/24/13
to spyd...@googlegroups.com, Bob Gailer
Just typing spyder from a command window or the Run dialog.


--
Adrian Klaver
adrian...@gmail.com

Bob Gailer

unread,
May 24, 2013, 8:27:56 PM5/24/13
to spyd...@googlegroups.com
For what it's worth:

I ran spyder-2.2.0.win32.exe and found Spyder (Py2.6 32 bit)had been added to the Start->Progams menu. Noting like that happened with the later versions.

However when I select Spyder (full) I get;
"Please check Spyder installation requirements:
PyQt 4.4+ (or Pyside 1.1.1) is required.'

How do I get these. I thought the windows installer would take care of that!

Adrian Klaver

unread,
May 24, 2013, 8:35:12 PM5/24/13
to spyd...@googlegroups.com, Bob Gailer
https://code.google.com/p/spyderlib/wiki/Installation

See:
Installing on Windows XP/Vista/7


--
Adrian Klaver
adrian...@gmail.com

Carlos Córdoba

unread,
May 24, 2013, 9:46:50 PM5/24/13
to spyd...@googlegroups.com
Hi Bob,

The Spyder installer assumes you have previously installed all the dependencies needed to run it (that's why it only weighs 3.8M). Since it seems you are very new to Python, let me explain you your two choices:

1. If you want to continue with your current setup you need to: a) Install the Qt library, b) install PyQt for Python 3, c) use easy_install to install rope, pywin32 and pyflakes. However this won't give you the main scientific libraries (like numpy, scipy, matplotlib, etc) and it's very prone to error.

2. Just install WinPython 3.3.2, which comes with Spyder and all the libraries I mentioned in 1, and more.

Cheers,
Carlos

El 24/05/13 19:27, Bob Gailer escribió:

Bob Gailer

unread,
May 24, 2013, 11:17:29 PM5/24/13
to spyd...@googlegroups.com, Bob Gailer

Just typing spyder from a command window or the Run dialog.

C:\Documents and Settings\Administrator.DELL-OWNER>spyder
'spyder' is not recognized as an internal or external command,
operable program or batch file.


--
Adrian Klaver
adrian...@gmail.com

Lewis Levin

unread,
May 26, 2013, 2:23:21 PM5/26/13
to spyd...@googlegroups.com, Bob Gailer
Dear Bob,
Just get WinPython at: https://code.google.com/p/winpython/

Run the exe installer.  It makes a folder that contains everything.  If you want, it can be your default python installation, which I recommend.  A single command from it's own control panel will update the windows registry.  You might also want to add a path to the folder.  This will create a normal program icon on your desktop to run spyder.  It will be the cleanest, easiest to manage python you've ever had.

It is very frustrating to install sources of big python scripts.  Everything comes from the unix/linux world where everything is a file and the files better be in the right place.  But, you can do it.  In the python\scripts folder you should find spyder.bat.  Just right click on this and choose send to desktop to create an icon that launches the bat file.  You don't need to run python first.  The .bat file does that for you.  Just double click on the link icon.  Voila.

Bob Gailer

unread,
May 30, 2013, 5:39:42 PM5/30/13
to spyd...@googlegroups.com, Bob Gailer


On Sunday, May 26, 2013 2:23:21 PM UTC-4, Lewis Levin wrote:
Dear Bob,
Just get WinPython at: https://code.google.com/p/winpython/

I did that and Sypder is now running. That is a major step forward. Thanks!

The documentation (and the tutorials I found, using google) are so sparse they leave SO much for the newcomer to guess at or just give up. 

What I want right now is a way to take an existing folder of .py files and make it into a project.

But I fear that as soon as I want to do something else I will have to come back here to get the answers.

Is there any hope for comprehensive documentation?

Bob Gailer

unread,
May 30, 2013, 7:55:29 PM5/30/13
to spyd...@googlegroups.com, Bob Gailer


On Thursday, May 30, 2013 5:39:42 PM UTC-4, Bob Gailer wrote:


On Sunday, May 26, 2013 2:23:21 PM UTC-4, Lewis Levin wrote:
Dear Bob,
Just get WinPython at: https://code.google.com/p/winpython/

I did that and Sypder is now running. That is a major step forward. Thanks!

The documentation (and the tutorials I found, using google) are so sparse they leave SO much for the newcomer to guess at or just give up. 

What I want right now is a way to take an existing folder of .py files and make it into a project.

More experimenting - make a workspace first (any drive or folder can be a workspace. In this case it should be the parent of the existing folder.)
Then add the existing folder as a new project.

Steps:
In the project explorer click the folder icon, select the drive or folder for the workspace. This path will be displayed to the left of the folder icon.
Right click in the pane below the path box; pick New->Project.
Enter project name. If that folder exists a warning dialog appears. Click yes.

Adrian Klaver

unread,
May 30, 2013, 7:57:10 PM5/30/13
to spyd...@googlegroups.com, Bob Gailer
In the Project Explorer window right click to get the context menu.
Select Import and the Existing Directory.

Project Explorer is a work in progress at the moment, so do not expect a
whole lot.

>
> Is there any hope for comprehensive documentation?
>
> --
> You received this message because you are subscribed to the Google
> Groups "spyder" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to spyderlib+...@googlegroups.com.
> To post to this group, send email to spyd...@googlegroups.com.
> Visit this group at http://groups.google.com/group/spyderlib?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>


--
Adrian Klaver
adrian...@gmail.com

anatoly techtonik

unread,
Jun 2, 2013, 2:17:45 AM6/2/13
to spyd...@googlegroups.com
On Sunday, May 19, 2013 3:04:25 AM UTC+3, Bob Gailer wrote:
How do I start spyder? I can't find any useful guidance. As an experiment I tried from a command prompt:

C:\Python33\Lib\site-packages\spyderlib>spyder.py
Traceback (most recent call last):
  File "C:\Python33\Lib\site-packages\spyderlib\spyder.py", line 30, in <module>


    from spyderlib.utils.programs import is_module_installed
ImportError: No module named spyderlib.utils.programs

Was that the correct way to start it? If so how do I fix the problem?

No. By some convention (better ask about it on pytho...@python.org) the path where executable files are created is C:\Python33\Scripts\ - check for spyder.bat or spyder.exe there.
 
Why is this essential information (how to start) not documented?

The way to start Spyder depends in installation method. It looks like you've installed Spyder using Python standard distutils package. It is also possible to use installers that do extra work - like providing system shortcuts etc. or launch Spyder from source checkout, like I do using bootstrap script. So, where do you look for documentation?

How do I fix the documentation? 

Thanks for asking.

The easiest way is to edit files online through Google Code.
1. Open GC source code browser

2. Navigate to the page in question, for example, to README

3. If you're logged into GC, you'll see an Edit file link in the blue header at the top of file content pane

4. Edit file and click suggest a path - new issue will be automatically created for us to track


More complicated way is to work through Mercurial.

Reply all
Reply to author
Forward
0 new messages