On Tuesday, March 12, 2002, at 09:52 , Josh Kuperman wrote:
> Well I've learned two things since I wrote that note. The first is
> that in Python you can type help('modules') and get a list of
> installed modules. The Second is that there are two versions of
> Python, python and python-nox. The latter has the pwd module the
> former does not.
That didn't make any sense.
And then I realized my mistake. I misread `pwd' as something
having to do with the Present Working Directory (too much shell
programming of late, I guess...), instead of the PassWorD file.
Of course Python has a `pwd' module. Duh. :-/
I have fink's python 2.2-8 on my system, and it has the pwd
module.
Sorry about the confusion.
> Actually, it is somewhat weird -- hopefully the weirdness is simpy
> caused my desire to live in the fast lane of CVS usage. But when I
> typed "fink install python-nox" it started running the install and
> when I finally came back I no longer had python installed. I would
> have throught I should have got a message saying python-nox conflicts
> with python.
I don't know about that one. I've been running from CVS for about a
month or so, and it's been fine. But I manually removed python-nox
and then installed python once I got X up and running. Two or three
patch updates since then have come off without a hitch.
Dan
> On Tue, Mar 12, 2002 at 08:20:49PM -0600, [EMAIL PROTECTED] wrote:
>>
>> On Tuesday, March 12, 2002, at 05:11 , Josh Kuperman wrote:
>>
>>> I installed Python from CVS, which installed Python 2.2 correctly as
>>> far as i can tell.
>>>
>>> I decided to try to install Mailman. There is no fink package so I
>>> went to build from sources. I was fine until I got to the ./configure
>>> script which attempt so generate a python script, inline and execute
>>> it. The script tries to import two modules string and pwd. I
>>> extracted the script to see why it failed. It failed because there is
>>> no pwd module. Do I need to download it separately? do I need an
>>> older
>>> version of Python?
>>
>> I've been using python since 1.5, and I've never seen a `pwd' module.
>> That functionality usually looks like this:
>>
>> import os
>> currentdirectory = os.getcwd( )
>>
>> I have *no* experience installing mailman, though.
>>
>> Hope This Helps,
>> Dan
>>
>> --
>> This email impairs your ability to operate heavy machinery.
>> <mailto:[EMAIL PROTECTED]>
>>
>>
>> _______________________________________________
>> Fink-users mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/fink-users
>
> --
> Josh Kuperman
> [EMAIL PROTECTED]
>
> _______________________________________________
> Fink-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-users
--
This email impairs your ability to operate heavy machinery.
<mailto:[EMAIL PROTECTED]>
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users