问题描述
我正在探索 Azure IoT 模拟器。我正在使用 this git repo 中的示例代码:
之前我能够成功运行 python 脚本,但今天我收到以下错误。我没有做任何修改。有人能告诉我如何解决这个问题吗?
Traceback (most recent call last):
File "C:\Users\shivi\AppData\Local\Programs\Python\python36-32\lib\runpy.py",line 193,in _run_module_as_main
"__main__",mod_spec)
File "C:\Users\shivi\AppData\Local\Programs\Python\python36-32\lib\runpy.py",line 85,in _run_code
exec(code,run_globals)
File "c:\Users\shivi\.vscode\extensions\ms-python.python-2021.1.502429796\pythonFiles\lib\python\debugpy\launcher\__main__.py",line 95,in <module>
main()
File "c:\Users\shivi\.vscode\extensions\ms-python.python-2021.1.502429796\pythonFiles\lib\python\debugpy\launcher\__main__.py",line 51,in main
launcher.connect(host,port)
File "c:\Users\shivi\.vscode\extensions\ms-python.python-2021.1.502429796\pythonFiles\lib\python\debugpy\launcher/../..\debugpy\launcher\__init__.py",line 34,in connect
sock.connect((host,port))
ConnectionRefusedError: [WinError 10061] No connection Could be made because the target machine actively refused it
我正在使用: 赢10 .NET 运行时:2.1.812 Python 3.6.3
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)