websitescreenshot\venv\lib\site-packages\imgkit\config.py", line 30, in __init__FileNotFoundError: [Errno 2] No such file or directory: b''
During handling of the above exceptionlib\site-packages\imgkit\config.py", line 36, i
lib\site-packages\imgkit-0.1.8-py3.6.egg\imgkit\config.py", line 30, in __init__FileNotFoundError: [Errno 2] No such file or directory: b''
During handling of the above exception-0.1.8-py3.6.egg\imgkit\config.py", line 36, in
我试图通过从子进程中启动python程序来运行python脚本(原因是在脚本运行时主程序必须已经退出,并结合使用wx.CallAfter和Close)。然而,当脚本运行时,我在ImportError: No module named os的第1行得到一个错误,这让我认为这与PythonPath有关,但我可以从终端运行脚本。编辑:有问题的行是:
wx.CallAfter(subprocess.Popen,'python %s "%s" %s %s'%(os.path.join(BASE_DIR,"updatec
Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory 我真的在网上找不到任何文档,但Platypus只是与子进程不兼容,还是我的代码有问题。编辑:下面是我用来将程序变成可执行文件的软件:https://sve