在windows IOT rpi上运行python脚本

2024-10-01 11:19:26 发布

您现在位置:Python中文网/ 问答频道 /正文

我有运行WindowsIoT的RPI2,我想在上面运行python脚本。不幸的是,我在部署之后出现了这个错误

我用visualstudio2015作为windows iot核心后台应用程序编写了这个脚本。在

它给我的错误是

Severity   Code   Description   Project   File   Line   Suppression State
Error
DEP3400 : Visual Studio could not enable network loopback and
cannot determine the state of network isolation exemption. 
 Calls to local network services might be blocked, and local network

 debugging tools might not work. The service returned the following error: 
(0x00000005) Exception of type 
'Microsoft.VisualStudio.ImmersiveProjectServices.Shared.FirewallShimException'
 was thrown.

输出是

^{pr2}$

Tags: andofthe脚本windowslocal部署错误
1条回答
网友
1楼 · 发布于 2024-10-01 11:19:26

我认为这个问题首先应该在Raspberry Pi StackExchange Forum上提出。在

从你们俩似乎都收到的错误消息来看,你们的网络接口,例如环回地址无法使用visualstudio编写的代码进行访问。对于基于Linux内核的系统,您通常需要在sudo的帮助下运行代码,这可能是Windows的同义词:以管理员身份运行尝试以管理员身份运行代码,也许它会成功。而且,如果你的Windows IoT核心上有防火墙设置,你可能需要溢出防火墙设置

相关问题 更多 >