PyEPL installation issue

From MallWiki

Jump to: navigation, search

PyEPL ver. 1.0.29 under Ubuntu

Problem:If you try to run one of the examples in the manual like "Hello World" you get an error message like:

pygame.error: Couldn't open /usr/lib/python2.5/site-packages/pyepl/resources/icon.png

In this package, they relocated the files in site-packages/pyepl/resources to /usr/share/python-pyepl, withouth linking them to new location.

Solution: (Thx. to Simon)

Create a virtual link to these files in site-packages/pyepl/resources directory, something like:

mall@shane-desktop:/usr/lib/python2.5/site-packages/pyepl$ sudo ln -s /usr/share/python-pyepl/ resources