BPLUSPY-1.0 Installation issue
steve+comp.lang.python at pearwood.info
Sun Mar 10 17:22:37 CET 2013
On Sun, 10 Mar 2013 08:38:43 -0700, mbg1708 wrote:
> The Bpluspy-1.0 package from Pypi is excellent. The usual setup loads
> the software into site-packages. Unfortunately, once installed, Python
> import statements don't find the software.
> The fix is to add a "pth" file in the site-packages directory. The file
> can be called <anything_you_like>.pth and needs to contain a single line
> of text
> Python import statements now work fine.
> This fix applies to Python 2.7 in Fedora 18 and Windows XP.
Thanks for posting this!
Have you considered notifying the package's author? Perhaps the installer
script could add the pth file automatically, or fix the package structure
so it becomes unnecessary.
More information about the Python-list