SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
On all of my systems (and they're all running -current) I get the following when running "pygmentize":
Code:
$ echo Hello world | pygmentize
*** Error while highlighting:
pkg_resources.DistributionNotFound: The 'MarkupSafe>=0.9.2' distribution was not found and is required by the application
*** If this is a bug you want to report, please rerun with -v.
I resolved the issue on my desktop with:
Code:
$ su -
# pip install MarkupSafe
and then the "echo | pygmentize" command ran properly.
You may want to report this in the requests for -current thread in case Pat doesn't see this thread. It seems that python-pygments is able to be built without MarkupSafe, but it doesn't disable features that require MarkupSafe leading to a broken pygmentize. This might cause Pat to add MarkupSafe to -current to fix the broken pygmentize.
You may want to report this in the requests for -current thread in case Pat doesn't see this thread. It seems that python-pygments is able to be built without MarkupSafe, but it doesn't disable features that require MarkupSafe leading to a broken pygmentize. This might cause Pat to add MarkupSafe to -current to fix the broken pygmentize.
This is because they are python modules and it doesn't matter what order you install them. Just install the version from SBo and consider it fixed. It does not need to be added to current to fix this issue.
This is because they are python modules and it doesn't matter what order you install them. Just install the version from SBo and consider it fixed. It does not need to be added to current to fix this issue.
Many python programs will refuse to build if the required modules are not in place. It doesn't seem to be the case here.
Yes, the package is easily installable via SBo to fix this, but this still leaves a broken pygmantize on a full Slackware install. IMHO, there shouldn't be broken software with a full install.
Yes, you're right. I was under the mistaken impression that pygmantize was not in a full install, but its actually included in the python-pygments package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.