./playground.py install fails with python2.6

Bug #585780 reported by martin.riverola on 2010-05-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openWNS-Application
Undecided
Unassigned

Bug Description

I type ./playground.py install and appears this error on terminal,

/bin/sh: python-config: not found
OSError: 'python-config --includes' exited 127:
  File "/home/riverola/OpenWNS/SConstruct", line 184:
    env.ParseConfig("python-config --includes")
  File "/usr/lib/scons/SCons/Environment.py", line 1474:
    return function(self, self.backtick(command))
  File "/usr/lib/scons/SCons/Environment.py", line 593:
    raise OSError("'%s' exited %d" % (command, status))

Hi,

which Linux version are you using? (Please provide the output from "cat
/etc/l*release"). The missing tool "python-config" should be part of the
"python-dev" package.

Greats,

Mac

martin.riverola wrote:
> Public bug reported:
>
> I type ./playground.py install and appears this error on terminal,
>
> /bin/sh: python-config: not found
> OSError: 'python-config --includes' exited 127:
> File "/home/riverola/OpenWNS/SConstruct", line 184:
> env.ParseConfig("python-config --includes")
> File "/usr/lib/scons/SCons/Environment.py", line 1474:
> return function(self, self.backtick(command))
> File "/usr/lib/scons/SCons/Environment.py", line 593:
> raise OSError("'%s' exited %d" % (command, status))
>
> ** Affects: openwns-application
> Importance: Undecided
> Status: New
>
>

My version,

riverola@ubuntu:~$ cat /etc/l*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"

Thanks,

Hi,

I guess if you exactly followed the steps in
"http://docs.openwns.org/gettingStarted/prerequisites.html" you ended up
with an old or partial Python installation. "sudo apt-get install
python2.6-dev" should fix the problem. After the simulator was updated
to work with Ubuntu 10.04 the docu will be also updated soon!

Greats,

Mac

martin.riverola wrote:
> My version,
>
> riverola@ubuntu:~$ cat /etc/l*release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=10.04
> DISTRIB_CODENAME=lucid
> DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"
>
> Thanks,
>
>

Hi,

Yes, exactly followed the steps and install python2.6. Then, the problem is that the simulator does not work with Ubuntu 10.04?

Thanks,

Maciej Muehleisen (mue-comnets) wrote :

Hi,

it should work, here I was able to install and use it on a 10.04 system.
The missing tool "python-config" should come with the python2.6-dev
package (sudo apt-get install python2.6-dev). Can you execute
"python-config" from the command line? Does "sudo apt-get install
python2.6-dev" tell you that the package is already installed? What does
"whereis python-config" say? The tool should be present under
/usr/bin/python-config.

Greats,

Mac

martin.riverola wrote:
> Hi,
>
> Yes, exactly followed the steps and install python2.6. Then, the problem
> is that the simulator does not work with Ubuntu 10.04?
>
> Thanks,
>
>

Thank you for your attention

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers