Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/346.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Pyjamas desktop(pyjd)编译、运行和退出_Python_Com_Windows 8.1_Mshtml_Pyjamas - Fatal编程技术网

Python Pyjamas desktop(pyjd)编译、运行和退出

Python Pyjamas desktop(pyjd)编译、运行和退出,python,com,windows-8.1,mshtml,pyjamas,Python,Com,Windows 8.1,Mshtml,Pyjamas,我正在使用Python2.7(64位)在Windows8.1上运行睡衣。我在安装所有东西方面都有点困难,但我相信这场斗争是有成效的——我已经运行了bootstrap,文件“run_bootstrap_first_then_pyjd_setup.py”,并开始尝试使用睡衣桌面 我试图通过在命令行中运行run.bat文件和双击GUI Windows资源管理器来查看Hello.py示例(在examples/helloworld目录中)。.bat文件的代码如下: @echo off python Hel

我正在使用Python2.7(64位)在Windows8.1上运行睡衣。我在安装所有东西方面都有点困难,但我相信这场斗争是有成效的——我已经运行了bootstrap,文件“run_bootstrap_first_then_pyjd_setup.py”,并开始尝试使用睡衣桌面

我试图通过在命令行中运行run.bat文件和双击GUI Windows资源管理器来查看Hello.py示例(在examples/helloworld目录中)。.bat文件的代码如下:

@echo off
python Hello.py
程序将编译、运行并打开一个白色窗口,然后立即退出。这让我觉得它没有完全运行(或者说睡衣与Windows8.1不兼容)。如果我通过键入直接运行Hello.py文件

python Hello.py
在命令行中,同样的事情也会发生


我猜这是Windows软件版本控制问题(8.1无法运行当前版本的Pyjamas或…..有什么想法吗?

没有遇到此特定错误,但要帮助调试正在发生的情况,您可以尝试以下方法:

python Hello.py
if errorlevel 1 (
   echo Failure Reason Given is %errorlevel%
   PAUSE
   exit /b %errorlevel%
)
如果可以,可以获得一个可以运行python控制台的IDE