[Twisted-Python] Twisted missing OpenSSL-Package?

马踏飞燕 honeyday.mj at gmail.com
Tue Nov 8 20:48:10 EST 2005


2005/11/8, Franz Buchinger <fbuchinger at gmail.com>:
> Hi,
>
> I tried to install MoinMoin Wiki http://moinmoin.wikiwikiweb.de/ in
> Combination with Twisted as Webserver under Windows XP.
>
> When i  launch Mointwisted.cmd on the command line, it dies with the
> following error messages:
>
> C:\Python24\scripts\moin-1.3.5>mointwisted
> Traceback (most recent call last):
>  File "C:\Python24\scripts\twistd.py", line 25, in ?
>    run()
>  File "C:\Python24\Lib\site-packages\twisted\scripts\_twistw.py", line 51, in r
> un
>    app.run(runApp, ServerOptions)
>  File "C:\Python24\Lib\site-packages\twisted\application\app.py", line 271, in
> run
>    runApp(config)
>  File "C:\Python24\Lib\site-packages\twisted\scripts\_twistw.py", line 35, in r
> unApp
>    application = app.getApplication(config, passphrase)
> --- <exception caught here> ---
>  File "C:\Python24\Lib\site-packages\twisted\application\app.py", line 156, in
> getApplication
>    application = service.loadApplication(filename, style, passphrase)
>  File "C:\Python24\Lib\site-packages\twisted\application\service.py", line 303,
>  in loadApplication
>    application = sob.loadValueFromFile(filename, 'application', passphrase)
>  File "C:\Python24\Lib\site-packages\twisted\persisted\sob.py", line 209, in lo
> adValueFromFile
>    exec fileObj in d, d
>  File "mointwisted.py", line 27, in ?
>    from MoinMoin.server.twistedmoin import TwistedConfig, makeApp
>  File "C:\Python24\scripts\moin-1.3.5\MoinMoin\server\twistedmoin.py", line 27,
>  in ?
>    from twisted.internet import threads, reactor, ssl
>  File "C:\Python24\lib\site-packages\twisted\internet\ssl.py", line 47, in ?
>    from OpenSSL import SSL
> exceptions.ImportError: No module named OpenSSL
>
> Failed to load application: No module named OpenSSL
>
> Obviously, Twisted is missing an OpenSSL package. Which packages do I
> need to enable SSL-Support in Python under Windows?
>
> Thanx in advance,
>
> Franz


You can download the OpenSSL package from
http://twistedmatrix.com/products/download

See the "Twisted Dependencies for Windows" section.




More information about the Twisted-Python mailing list