Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8555071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:02:10+00:00 2026-06-11T15:02:10+00:00

I am using Jekyll with pigments to highlight some code in my blog and

  • 0

I am using Jekyll with pigments to highlight some code in my blog and any code in the highlights tag seems to disappear, i.e. no Html generated.

Here is an example of some such code

{% highlight java %}
ObjectMapper mapper = new ObjectMapper();
mapper.getSerializationConfig().
setSerializationInclusion(JsonSerialize.Inclusion.NON_NULL);
{% endhighlight %}

Some other details;

  • OS: OSX Mountain Lion Ruby version:
  • ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.1.0]
  • Jekyll version: Jekyll 0.11.2

While googling someone suggested running this command to check pygments

echo 'puts "Hello World"' | pygmentize -l ruby -f html -O encoding=utf-8 

For me it returns this error:

Traceback (most recent call last):
  File "/usr/local/bin/pygmentize", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module>
    working_set.require(__requires__)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: Pygments==1.5
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T15:02:11+00:00Added an answer on June 11, 2026 at 3:02 pm

    I think your easy_install eggs were being put in: ~/Library/Python/2.7/site-packages/
    while they are needed to be in: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/

    Just copy the files (eggs and easy_install.path’s contents) over and it should solve your problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using disqus comments for my jekyll blog with some CSS styles overriden
I've just recently started using Github to host my blog (using Jekyll and Liquid).
I'm using Jekyll for my blog, and I'd like the ability to use unique
I'm using Jekyll to create a new blog. It uses Liquid underneath. Jekyll defines
i want build a blog using jekyll and octopress. but an error happened when
I'm using Jekyll for one of my projects and it really seems a very
I am using the standard jekyll installation to maintain a blog, everything is going
Using Rails 3.2.0.rc2 and ruby 1.9.3p0 In app/views/requests/_form.html.erb I have the following code for
I'm migrating my blog to Jekyll and using MacVim to write my posts. I
I'm using Jekyll to convert my markdown and Pygments for syntax highlighting. Here is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.