[Pythonmac-SIG] SOAPpy

Bob Ippolito bob at redivi.com
Mon Jan 10 10:31:13 CET 2005


 From the description, it sounds like the following happened:

- Installation of SOAPpy without fpconst failed, because setup.py 
imports SOAPpy to fetch the version.
- Installation of SOAPpy without fpconst using DarwinPorts succeeded, 
but didn't actually work because fpconst is still missing.  A whole lot 
of other crap (Python 2.4, etc.) was installed in the process.

... so, it sounds like you need fpconst to use SOAPpy.  Google and PEP 
754 agree that fpconst is here: 
http://research.warnes.net/projects/rzope/fpconst/

-bob

On Jan 10, 2005, at 4:14, Jack Jansen wrote:

> At best, your various Python installations (in your case, at least 
> Apple's Python 2.3 and darwinports Python 2.4) will be completely 
> independent. At worst they'll break each other, but that's a different 
> story for now:-)
>
> What seems to have happened in your case is that you installed fpconst 
> and pyXML into Apple's Python 2.3, then got SOAPpy from darwinports 
> (which installed its own separate Python 2.4). You can check this be 
> seeing whether there' s fpconst and pyXML stuff in 
> /Library/Python/2.3, which is where Apple's Python keeps its extension 
> modules.
>
> Apparently darwinports' dependencies aren't complete, otherwise it 
> would have loaded copies of fpconst and pyXML for it's Python 2.4 too.
>
> Why SOAPpy didn't work for Apple Python I don't know. But your best 
> course of action is probably to get the missing fpconst module into 
> darwinports' Python 2.4, by running its setup.py again with the right 
> python.
>
> On 10 Jan 2005, at 05:25, Kim Cascone wrote:
>
>> I'm trying to install SOAPpy
>> I first DL'd and installed fpconst and pyXML (but I don't think they 
>> are in the right place)
>> I then DL'd the SOAPpy from the web site (not darwinports) and tried 
>> to do an install
>> it couldn't find fpconst
>> I went to darwinports and DL'd SOAPpy from there and it seemed to 
>> load in the dependencies for me this time but somehow I also got 
>> Python2.4 installed as well...
>> so now when I try to build SOAPpy I get the following error:
>>
>> Bourbaki:/SOAPpy-0.11.6 root# python /SOAPpy-0.11.6/setup.py build
>> Traceback (most recent call last):
>>   File "/SOAPpy-0.11.6/setup.py", line 8, in ?
>>     from SOAPpy.version import __version__
>>   File "/SOAPpy-0.11.6/SOAPpy/__init__.py", line 5, in ?
>>     from Client      import *
>>   File "/SOAPpy-0.11.6/SOAPpy/Client.py", line 57, in ?
>>     from Parser      import parseSOAPRPC
>>   File "/SOAPpy-0.11.6/SOAPpy/Parser.py", line 8, in ?
>>     import fpconst
>> ImportError: No module named fpconst
>>
>> I think there are some differences in the two different SOAPpy 
>> packages I DL'd, the first one was done via CVS and the second via a 
>> .tar.gz package which was DL'd and extracted...so the various parts 
>> were placed in odd places like the python2.4/ is in my /opt/local/lib 
>> (I added a $PATH for this in my ~/.bash_profile) for some reason and 
>> not in the Library/Frameworks/Python.framework/Versions/ dir
>>
>> can anyone tell me where fpconst should be located? as well as 
>> whether python2.4 should be in the Library/Frameworks... dir?
>>
>> thanks in advance!
>> KIM
>>
>> _______________________________________________
>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>>
> --
> Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
> If I can't dance I don't want to be part of your revolution -- Emma 
> Goldman
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig



More information about the Pythonmac-SIG mailing list