[Twisted-Python] twistd doesn't work

Werner Thie wthie at thiengineering.ch
Fri Sep 7 02:06:05 EDT 2007


David

No need to install a full blown Zope, just install the interface package

http://www.zope.org/Products/ZopeInterface

On the Mac also make sure that you're path is set to the correct 
directories where twistd resides (usually in your Python installation in 
the Scripts subdirectory)

If you want to find 'something' on your machine, use find in a terminal 
window like

find / -name 'twistd' -print

If you want to look at your PATH variable

use $PATH or env

if you want to change your path, open a fresh terminal an enter

open .bash_profile

which should open the file with one of the text editors available

HTH, Werner



David Langford wrote:
> Hey
> 
>   I did have the latest Twisted 2.5.0 installed. But I don't think i had the
> latest python installed. I installed that and now python doesnt see twisted.
> I downloaded the latest tarball again and when i tried to install it (using
> python setup.py install) it tells me i need zope (which it didn't last
> time).
> 
> So i've downloaded the latest stable zope but it wont let me install because
> it isn't supported by the latest version of python.
> 
> And now i'm stuck, in worse position than before because now i don't even
> have twisted. I feel like these are extremely basic things i should now, is
> there a webpage or something that answers these problems i'im having?
> 
> Cheers
> 
> David
> 
> On 9/4/07, Chris Miles <miles.chris at gmail.com> wrote:
>> Hi David,
>>
>> Have you installed the Twisted 2.5.0 tarball from http://
>> twistedmatrix.com/trac/ ?
>>
>> If so, you should find the twistd command in the OS X Python bin dir,
>> which will usually be:
>>    /Library/Frameworks/Python.framework/Versions/Current/bin/twistd
>> or
>>    /Library/Frameworks/Python.framework/Versions/2.4/bin/twistd
>>
>> Cheers,
>> Chris
>>
>> On 4 Sep 2007, at 05:57, David Langford wrote:
>>
>>> Hey everyone
>>>
>>>   I'm going through the finger tutorial -> http://twistedmatrix.com/
>>> projects/core/documentation/howto/tutorial/intro.html . And at the
>>> end of the first section it talks about using the twistd command.
>>> Now it just plain doesn't work for me, telling me the command is
>>> not found. I'm using a macbook pro and i type the command into
>>> terminal.
>>>
>>>   Can anyone tell me what i'm doing wrong. Because the next section
>>> doesn't work (i'm assuming its related to my lack of twistd-ness)
>>>
>>>   I know this a n00bish question, and i've been searching for an
>>> answer, but everyone else seems to be able to get it working and no
>>> one mentions having problems. Then i thought maybee i have to
>>> download something extra for twisted, but a search of the site only
>>> returned tickets (bug tickets) instead of an actual search of the
>>> site.
>>>
>>>   Any help would be greatly appreciated
>>>
>>>  Lango
>>> _______________________________________________
>>> Twisted-Python mailing list
>>> Twisted-Python at twistedmatrix.com
>>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>>
>> _______________________________________________
>> Twisted-Python mailing list
>> Twisted-Python at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python




More information about the Twisted-Python mailing list