[Debichem-devel] Bug#550721: Debian wrapper gives error "pymol is a package and cannot be directly executed"

Scott Howard showard314 at gmail.com
Mon Oct 12 13:51:42 UTC 2009


Package: pymol
Version: 1.2r1-2


When using python 2.6 or 3.0, the Debian wrapper will give the error
"pymol is a package and cannot be directly executed" This has to do
with a bug reported against python [1]. In order to run on all
versions of python, the developers suggest changing the last line of
the debian wrapper in python.launch.in from:
python at PYTHON_VERSION@ -m pymol ${1+"$@"}

to:
python at PYTHON_VERSION@ -m pymol.__init__ ${1+"$@"}

That fixed it for me on Ubuntu Karmic with python2.6.

A package [2] is available for testing and it is discussed on launchpad [3].


[1] http://bugs.python.org/issue2751
[2] https://launchpad.net/~showard314/+archive/ppa
[3] https://code.launchpad.net/bugs/448594





More information about the Debichem-devel mailing list