Public bug reported: $ 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/python2.7/dist-packages/glpk/__init__.py", line 26, in <module> from glpk_parser import * File "/usr/lib/python2.7/dist-packages/glpk/glpk_parser.py", line 352, in <module> yacc.yacc(write_tables=0, debug=0) File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 3264, in yacc read_signature = lr.read_table(tabmodule) File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1967, in read_table if parsetab._tabversion != __tabversion__: AttributeError: 'module' object has no attribute '_tabversion'
ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: python-glpk 0.4.52-1.1 ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19 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) ** Affects: python-glpk (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629672 Title: glpk module import fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-glpk/+bug/1629672/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs