Unable to install twisted package on windows machine

谁说我不能喝 提交于 2019-12-04 05:47:34
Star123

The steps to install the package are as follows :

  1. Install python any version .

  2. Then, Install the appropriate exe

    http://twistedmatrix.com/trac/wiki/Downloads

    Twisted 10.1.0 for Python 2.6 ( msi | exe) or Twisted 10.1.0 for Python 2.5 ( msi | exe)

  3. download the zope interface .

    http://twistedmatrix.com/trac/wiki/Downloads

  4. Install setuptools

    http://pypi.python.org/pypi/setuptools#downloads

    Update the PATH variable to the subdirectory containing easy_install.exe .

  5. install zope interface using :

    easy_install zope.interface-3.6.1-py2.5-win32.egg

The documentation for building Twisted on Windows is here. Follow that and you should not face any problem.

Since the import fails, clearly something is not right, so you should follow the steps in the manual above.

I've just installed Twisted-12.3.0 using the .msi download.

For the zope interface I extracted the archive (zope.interface-4.0.3-py2.7-win32.egg) and moved the extracted zope directory into the python/lib directory.

I got the usage message when running trial.py in a command window.

(I thought I saw some issue with 64 bit windows and setuptools????)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!