[Slackbuilds-users] crmsh not working

Jeremy Hansen jebrhansen+SBo at gmail.com
Wed Mar 6 05:05:32 UTC 2019


On Tue, Mar 5, 2019, 6:23 PM JCA <1.41421 at gmail.com> wrote:

> I installed the crmsh package into two freshly installed Slackware 14.2
> systems, fully patched. According to the info file for this package, it
> does not have any explicit dependencies. I nevertheless installed
> pacemaker, and all of its dependencies, for that's the context in which I
> am going to use crmsh.
>
> When I try to invoke the crm executable that is distributed with crmsh,
> here is what I am getting:
>
> # crm
> Fatal error:
>         No module named lxml
>         No module named modules
>
>     Failed to start crmsh! This is likely due to a broken
>     installation or a missing dependency.
>
>     If you are using a packaged version of crmsh, please try
>     reinstalling the package. Also check your PYTHONPATH and
>     make sure that the crmsh module is reachable.
>
>     Please file an issue describing your installation at
>     https://github.com/Clusterlabs/crmsh/issues/ .
>
> PYTHONPATH is not set in my shell, and it is not found in any file in
> /etc/profile.d. I tried setting it myself with
>
> export PYTHONPATH=/usr/lib64/python2.7/site-packages/crmsh
>
> and a few variations of the above, but it made no difference.
>

Looks like there might be some undocumented dependencies somewhere. Based
on your error message, I'm assuming you need
https://slackbuilds.org/repository/14.2/python/lxml/ for the missing
"lxml", but I'm not sure what you'd need for the missing "modules".

Jeremy

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20190305/f7993212/attachment-0001.html>


More information about the SlackBuilds-users mailing list