gpt4 book ai didi

python - 如何在 VS Code 上调试? "Bad file descriptor"错误

转载 作者:太空宇宙 更新时间:2023-11-03 21:47:36 24 4
gpt4 key购买 nike

它看起来很基本,但是我在使用 VS Code + Anaconda 调试 py 文件时遇到了很大的困难:

import sys
print(1)

输出错误如下

Exception has occurred: exceptions.IOError (9, 'Bad file descriptor') File "C:\Projetos\projetos\vinculacao\teste.py", line 3, in

最佳答案

尝试:

print ("1")

我希望这能解决问题:)

关于python - 如何在 VS Code 上调试? "Bad file descriptor"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52373364/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com