Package: python-glpk
Version: 0.3.43-4
Severity: important
Tags: lenny
ac...@dogbert:~$ python
Python 2.5.5 (r255:77872, Apr 21 2010, 08:44:16)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import glpk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.5/glpk/__init__.py", line 26, in <module>
from glpk_parser import *
File "/usr/lib/pymodules/python2.5/glpk/glpk_parser.py", line 2, in
<module>
import ply.lex as lex
ImportError: No module named ply.lex
I've installed python-ply and tried again:
>>> import glpk
>>>
Testing python-2.6:
ac...@dogbert:~$ python2.6
Python 2.6.5 (r265:79063, Mar 18 2010, 23:38:15)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import glpk
>>>
works well, too - finally.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-3-686 (SMP w/1 CPU core)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-glpk depends on:
ii libc6 2.10.2-6 Embedded GNU C Library:
Shared lib
ii libglpk0 4.43-1 linear programming kit with
intege
ii python 2.5.4-9 An interactive high-level
object-o
ii python-support 1.0.8 automated rebuilding
support for P
python-glpk recommends no packages.
python-glpk suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]