Hi,
Yes on lenny you get python 2.5 and for this you need python 2.6 at least.
Installing ros on lenny was a bit of a pain (well in our case). If you uprgade to the latest debian, then it should make your life a LOT easier with ROS :)
Cheers,
Ugo
Embarrassed to say that I can't get the newest rosinstall working on my machine, using Debian lenny 5.0.8 and the standard source based install instructions at http://www.ros.org/wiki/cturtle/Installation/Debian. Python version is 2.5.2.Executed:sudo apt-get install build-essential python-yaml cmake subversion wget python-setuptoolsand:sudo easy_install -U rosinstallWhen I run:rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=base&overlay=no"Here is the output:veltrobot:~ $ rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=ros_only&overlay=no"/usr/lib/python2.5/site-packages/rosinstall-0.5.15-py2.5.egg/rosinstall/vcs/svn.py:49: Warning: 'with' will become a reserved keyword in Python 2.6Traceback (most recent call last):File "/usr/bin/rosinstall", line 5, in <module>pkg_resources.run_script('rosinstall==0.5.15', 'rosinstall')File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 448, in run_scriptself.require(requires)[0].run_script(script_name, ns)File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1173, in run_scriptexec script_code in namespace, namespaceFile "/usr/bin/rosinstall", line 28, in <module>File "/usr/lib/python2.5/site-packages/rosinstall-0.5.15-py2.5.egg/rosinstall/vcs/svn.py", line 49with open(os.devnull, 'w') as fnull:^SyntaxError: invalid syntaxIf I download the old http://www.ros.org/rosinstall and do a./rosinstall ~/ros "http://www.ros.org/rosinstalls/cturtle_base.rosinstall"then it all works out fine as it used to.I found an old thread with the same error message from an ArchLinux user. They fixed it by changing a python 3 symlink to a 2.7 symlink. That does not apply in my case.Sorry if this has been covered before, I feel like it's something obvious but I haven't been able to find a solution.Is Debian lenny's python the problem?Taylor Veltrop
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users