我想使用pyinstaller将程序作为可执行文件运行,但可执行程序打开的命令提示符将自动关闭。我可以使用input("Press any key to stop the program: ")运行可执行文件并关闭窗口,但在我实现try: error_list=[]...except ZeroDivisionError: print("Sorry, there's nothing in this file").之后,终端窗口在运行
找不到可执行文件。使用“restructuredtext.executablePath”设置配置可执行文件的位置
// Place your settings in this file更新:我还确认了Anaconda3\Scripts目录在我的系统路径中,所以应该使用默认设置通过扩展找到restructuredtext-lint,但它不是。但是,当我在命令行输入restructuredtext-lint时,脚本就会如期而至。
我正在使用ArchLinux,并且想使用Python Language Server和vscode来编写python代码。当我在aur中搜索时,我找到了microsoft-python-language-server,它用dotnet下载并构建了语言服务器。这个包给了我一个位于/usr/bin/mspyls的可执行文件。但是,当我打开vscode时,它仍然会在.vscode/extensions