开发者

"ImportError: DLL load failed" when trying to run Play framework for the first time

Thinking I'd jump right into this without any issues, I was surprised that I can't even get the fr开发者_StackOverflow社区amework to initialize. Below is the error I am getting.

C:\>play
Traceback (most recent call last):
  File "C:\Play\play-1.2.1\play", line 13, in <module>
    from play.application import PlayApplication
  File "C:\Play\play-1.2.1\framework\pym\play\application.py", line 5, in <module>
    import socket
  File "C:\csvn\Python25\lib\socket.py", line 45, in <module>
    import _socket
ImportError: DLL load failed: The specified module could not be found.

Can anyone help me? I did find this related question, so I removed all instances of Python from my path and, as far as I can see, there's nothing there that should be getting in the way.

Thanks!


C:\csvn\Python25\lib\socket.py ? Looks like you're using a preinstalled Python 2.5 instead of the bundled Python 2.6... Do you have Python-related environment settings?


you could have just set PYTHON_HOME environment variable to point to play's python

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜