glpk module import fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ply (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
python-glpk (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
$ python
Python 2.7.12 (default, Jul 1 2016, 15:12:24)
[GCC 5.4.0 20160609] 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/
from glpk_parser import *
File "/usr/lib/
yacc.
File "/usr/lib/
read_signature = lr.read_
File "/usr/lib/
if parsetab.
AttributeError: 'module' object has no attribute '_tabversion'
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: python-glpk 0.4.52-1.1
ProcVersionSign
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sun Oct 2 10:23:57 2016
InstallationDate: Installed on 2012-10-07 (1456 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120822.4)
ProcEnviron:
LANGUAGE=
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-glpk
UpgradeStatus: Upgraded to xenial on 2016-04-09 (175 days ago)
tags: | added: bionic focal impish jammy |
did anyone solve this?
i'm with the same problem