无法运行旁遮普语
我从 Github 下载了旁遮普。我还有运行 Punjab 所需的 Python 2.7、Twisted Python 10.2、OpenSSL。我能够成功安装 Punjab,但在运行时报告“twistd 未被识别为内部或外部命令”,
我对 python 一无所知;有人可以告诉我该怎么做吗?
I downloaded Punjab from Github. I also have Python 2.7, Twisted Python 10.2, OpenSSL required to run Punjab. I was able to install Punjab successfully but while running it reports "twistd is not recognised as an internal or external command"
I have no knowledge of python; could someone please tell me what to do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你安装了扭曲吗? http://twistedmatrix.com/trac/
如果您有,那么它似乎不在您的执行路径中。
Have you installed twisted? http://twistedmatrix.com/trac/
If you have then it seems like it is not in your execution path.
如果您使用的是 Windows 操作系统,则“twistd 未被识别为内部或外部命令”
这意味着twistd不在搜索路径(环境变量)中。
您必须将twistd脚本文件夹路径添加到windows PATH
例如:
如果twistd在此路径中 =
'c:\python27\lib\site_package\twistd'
右键单击您的
我的电脑图标 ->产权-> advaced(tab) -> 单击“环境变量”
在“系统变量”列表中搜索 PATH 并添加您的路径
“c:\python25\ lib\site_package\twistd\scripts"
"twistd is not recognised as an internal or external command", if you are using
windows os
this is mean that the twistd is not in the PATH of searching ( environement variabls).
You must add the twistd scripts folder path to windows PATH
for example :
if the twistd is in this path =
'c:\python27\lib\site_package\twistd'
right click on your
my computer icon -> proporietes -> advaced(tab) ->click "envirment variables"
search for PATH in the list of "system variables" and add your path
"c:\python25\lib\site_package\twistd\scripts"