I have python2.6 installed on my windows machine.
tried to install a twisted package, but could not install it.
Also installed zope interface
In the python interpreter, I get an error like:
>>>import twisted >>>Import Error: No Module named twisted
I have successfully installed a twisted package.
C:\Documents and Settings\tazim_kolhar>python Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)] on win 32 Type "help", "copyright", "credits" or "license" for more information. >>> import twisted >>> ^Z
But when I try to run the script containing the package:
C:\Documents and Settings\tazim_kolhar>cd .. C:\Documents and Settings>cd .. C:\>cd Python_scripts C:\Python_scripts>python aimbot.py aimbot.py:10: DeprecationWarning: twisted.words.protocols.toc is deprecated sinc e Twisted 9.0. Use twisted.words.protocols.oscar instead. from twisted.words.protocols import toc Traceback (most recent call last): File "aimbot.py", line 10, in <module> from twisted.words.protocols import toc File "C:\Python26\Lib\site-packages\twisted\words\protocols\toc.py", line 27, in <module> from twisted.internet import reactor, protocol File "C:\Python26\Lib\site-packages\twisted\internet\reactor.py", line 37, in <module> from twisted.internet import selectreactor File "C:\Python26\Lib\site-packages\twisted\internet\selectreactor.py", line 1 7, in <module> from zope.interface import implements ImportError: No module named zope.interface C:\Python_scripts>
I disabled the zope interface. But the document http://twistedmatrix.com/trac/wiki/WindowsBuilds does not provide a clear explanation of the zope interface.
How to install this zope interface?
Any help would be helpful.
Thanks, Tazim.
python windows twisted
Star123
source share