RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: pnhoang
Site: pnhoang.wordpress.com
And the solution is download and install the 64 bit version binary Python installer from Python.org website. Here is the direct download link
Hi Ryan,
I tried the sample source code but it gives me this error. I hope you mentioned it in the notes or comments to other users to benefit.
Could not open library '/Library/Frameworks/Python.framework/Versions/2.7/lib/libPython2.7.dylib': dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/libPython2.7.dylib, 9): no suitable image found. Did find: /Library/Frameworks/Python.framework/Versions/2.7/lib/libPython2.7.dylib: no matching architecture in universal wrapper (in /Users/pnhoang/Developer/rails_casts/railscasts-episodes/episode-207/revised/highlighter-after/app/assets/stylesheets/pygments.css.erb) Extracted source (around line #5): 2: <html> 3: <head> 4: <title>Code Highlighter</title> 5: <%= stylesheet_link_tag "application", media: "all" %> 6: <%= javascript_include_tag "application" %> 7: <%= csrf_meta_tag %> 8: </head> Rails.root: /Users/pnhoang/Developer/rails_casts/railscasts-episodes/episode-207/revised/highlighter-after Application Trace | Framework Trace | Full Trace app/assets/stylesheets/pygments.css.erb:1:in `evaluate_source' app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__1083987171434567478_2162751440'
And the solution is download and install the 64 bit version binary Python installer from Python.org website. Here is the direct download link
Hi Ryan,
I tried the sample source code but it gives me this error. I hope you mentioned it in the notes or comments to other users to benefit.