Not quite easy at first place for non-debian insiders.
But I succeeded to build Spyder:
https://code.edge.launchpad.net/~pythonxy/+archive/individual-devel
I also configure the recipie to run a daily build for the development
code of Spyder:
https://code.edge.launchpad.net/~pythonxy/+recipe/spyder2.x
Please test these packages and provide feedback.
Regards,
Timmie
Here's the error in running it.
**************
laptop:~$ spyder
Traceback (most recent call last):
File "/usr/bin/spyder", line 2, in <module>
from spyderlib import spyder
File "/usr/lib/python2.6/dist-packages/spyderlib/spyder.py", line
38, in <module>
from spyderlib.utils.environ import WinUserEnvDialog
File "/usr/lib/python2.6/dist-packages/spyderlib/utils/environ.py",
line 16, in <module>
from spyderlib.widgets.dicteditor import DictEditor
File "/usr/lib/python2.6/dist-packages/spyderlib/widgets/dicteditor.py",
line 28, in <module>
from spyderlib.config import get_icon, get_font
File "/usr/lib/python2.6/dist-packages/spyderlib/config.py", line
423, in <module>
from spyderlib.widgets.codeeditor.syntaxhighlighters import (
File "/usr/lib/python2.6/dist-packages/spyderlib/widgets/codeeditor/__init__.py",
line 1
^
SyntaxError: invalid syntax
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I am using Editra for python IDE for a moment.
Noli
> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> To post to this group, send email to spyd...@googlegroups.com.
> To unsubscribe from this group, send email to
> spyderlib+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/spyderlib?hl=en.
>
>
E: spyderlib: subprocess installed post-installation script returned
error exit status 1
Noli
laptop:~$ sudo apt-get install spyderlib
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libgnomenu0-2
Use 'apt-get autoremove' to remove them.
Suggested packages:
pylint ipython python-scipy python-enthoughtbase
The following NEW packages will be installed:
spyderlib
0 upgraded, 1 newly installed, 0 to remove and 286 not upgraded.
Need to get 0B/1,242kB of archives.
After this operation, 4,186kB of additional disk space will be used.
Selecting previously deselected package spyderlib.
(Reading database ... 199516 files and directories currently installed.)
Unpacking spyderlib (from
.../spyderlib_2.0.0beta1+865-0ubuntu0+201009111252~lucid1_i386.deb)
...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_AU.utf8.cache...
Processing triggers for python-support ...
Setting up spyderlib (2.0.0beta1+865-0ubuntu0+201009111252~lucid1) ...
Compiling /usr/lib/python2.6/dist-packages/spyderlib/utils/classparser.py ...
SyntaxError: ('invalid syntax',
('/usr/lib/python2.6/dist-packages/spyderlib/utils/classparser.py', 1,
1, '\x01\n'))
Compiling /usr/lib/python2.6/dist-packages/spyderlib/widgets/codeeditor/__init__.py
...
SyntaxError: ('invalid syntax',
('/usr/lib/python2.6/dist-packages/spyderlib/widgets/codeeditor/__init__.py',
1, 1, '\x01\n'))
pycentral: pycentral pkginstall: error byte-compiling files (399)
pycentral pkginstall: error byte-compiling files (399)
dpkg: error processing spyderlib (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
spyderlib
E: Sub-process /usr/bin/dpkg returned an error code (1)
See the first 4 lines in:
http://bazaar.launchpad.net/~pythonxy/spyderlib/spyder_devel/annotate/head%3A/spyderlib/utils/classparser.py
http://bazaar.launchpad.net/~pythonxy/spyderlib/spyder_devel/annotate/head%3A/spyderlib/widgets/codeeditor/__init__.py
I will check this.
Just reported here:
https://bugs.edge.launchpad.net/bzr/+bug/635782