Exactly, in Arch the python command means python3. This is way I get:
$ python setup.py install
running install
running build
running build_py
running build_scripts
running build_doc
Running Sphinx v1.1.3
loading pickled environment... done
building [html]: targets for 18 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
preparing documents... done
Traceback (most recent call last):
File "setup.py", line 224, in <module>
cmdclass=CMDCLASS)
File "/usr/lib/python3.3/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.3/distutils/dist.py", line 917, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.3/distutils/dist.py", line 936, in run_command
cmd_obj.run()
File "/usr/lib/python3.3/distutils/command/install.py", line 569, in run
self.run_command('build')
File "/usr/lib/python3.3/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.3/distutils/dist.py", line 936, in run_command
cmd_obj.run()
File "/usr/lib/python3.3/distutils/command/build.py", line 126, in run
self.run_command(cmd_name)
File "/usr/lib/python3.3/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.3/distutils/dist.py", line 936, in run_command
cmd_obj.run()
File "setup.py", line 105, in run
setup_command.BuildDoc.run(self)
File "/usr/lib/python3.3/site-packages/sphinx/setup_command.py", line 143, in run
app.build(force_all=self.all_files)
File "/usr/lib/python3.3/site-packages/sphinx/application.py", line 204, in build
self.builder.build_update()
File "/usr/lib/python3.3/site-packages/sphinx/builders/__init__.py", line 196, in build_update
'out of date' % len(to_build))
File "/usr/lib/python3.3/site-packages/sphinx/builders/__init__.py", line 252, in build
self.write(docnames, list(updated_docnames), method)
File "/usr/lib/python3.3/site-packages/sphinx/builders/__init__.py", line 291, in write
doctree = self.env.get_and_resolve_doctree(docname, self)
File "/usr/lib/python3.3/site-packages/sphinx/environment.py", line 1230, in get_and_resolve_doctree
doctree = self.get_doctree(docname)
File "/usr/lib/python3.3/site-packages/sphinx/environment.py", line 1215, in get_doctree
doctree = pickle.load(f)
AttributeError: 'str' object has no attribute '__dict__'
After this, I googled a bit and I found someone saying that it should be installed with python2, so I did $python2 setup.py install and it went through ok but spyder was always running in python2.7 mode and that was when I wrote to you.
Following Carlos' guide, I changed python2 to python in /usr/bin/spyder first line. Now spyder doesn't open, I get this error:
$ spyder
Traceback (most recent call last):
File "/usr/bin/spyder", line 2, in <module>
from spyderlib import start_app
File "/usr/lib/python3.3/site-packages/spyderlib/start_app.py", line 12, in <module>
from spyderlib.baseconfig import get_conf_path
File "/usr/lib/python3.3/site-packages/spyderlib/baseconfig.py", line 183
except IOError, _e: # analysis:ignore
^
SyntaxError: invalid syntax
Installing from AUR the package spyder-hg gets me to the same situation as doing the above :-(