Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41019 > unrolled thread

BPLUSPY-1.0 Installation issue

Started bymbg1708@planetmail.com
First post2013-03-10 08:38 -0700
Last post2013-03-11 15:32 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  BPLUSPY-1.0 Installation issue mbg1708@planetmail.com - 2013-03-10 08:38 -0700
    Re: BPLUSPY-1.0 Installation issue Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-10 16:22 +0000
      Re: BPLUSPY-1.0 Installation issue mbg1708@planetmail.com - 2013-03-11 15:32 -0700

#41019 — BPLUSPY-1.0 Installation issue

Frommbg1708@planetmail.com
Date2013-03-10 08:38 -0700
SubjectBPLUSPY-1.0 Installation issue
Message-ID<e6ae213c-0b63-43f3-9f64-1bc9822bea8d@googlegroups.com>
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

    BplusPy

Python import statements now work fine.

This fix applies to Python 2.7 in Fedora 18 and Windows XP.

Mary

[toc] | [next] | [standalone]


#41021

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-03-10 16:22 +0000
Message-ID<513cb34d$0$6512$c3e8da3$5496439d@news.astraweb.com>
In reply to#41019
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
> 
>     BplusPy
> 
> Python import statements now work fine.
> 
> This fix applies to Python 2.7 in Fedora 18 and Windows XP.
> 
> Mary


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.


-- 
Steven

[toc] | [prev] | [next] | [standalone]


#41096

Frommbg1708@planetmail.com
Date2013-03-11 15:32 -0700
Message-ID<0591d613-2f8c-44f0-9a66-9fa22ae6ff3a@googlegroups.com>
In reply to#41021
On Sunday, March 10, 2013 11:22:37 AM UTC-5, Steven D'Aprano wrote:
> 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
> 
> > 
> 
> >     BplusPy
> 
> > 
> 
> > Python import statements now work fine.
> 
> > 
> 
> > This fix applies to Python 2.7 in Fedora 18 and Windows XP.
> 
> > 
> 
> > Mary
> 
> 
> 
> 
> 
> 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.
> 
> 
> 
> 
> 
> -- 
> 
> Steven

Yup.  Tried that.  There's no bug reporting link in Pypi (that I could find).  And Aaron Watters email address at Sourceforge is invalid....the email bounced back.  So.....I tried.....and ended up here...it was the best I could do.

Mary.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web