Red Hat Bugzilla – Bug 831382
ImportError: No module named shlex in Beaker's anamon on RHEL3, RHEL4
Last modified: 2012-06-19 03:08:42 EDT
Traceback (most recent call last):
File "/tmp/anamon", line 31, in ?
ImportError: No module named shlex
RHEL3 and RHEL4 have Python 2.2 but shlex was only added in Python 2.3.
(In reply to comment #0)
> RHEL3 and RHEL4 have Python 2.2 but shlex was only added in Python 2.3.
Not quite... shlex was added in Python 1.5, shlex.split was added in Python 2.3. The anamon script already has a workaround for missing shlex.split in Python 2.2.
If the shlex module is missing entirely then there must be something else going on here.
Closing as I can't reproduce this.