Python 包被组策略阻止
我是一个新的Python开发人员,我正在尝试在我的工作计算机上进行设置。
我可以通过PIP安装软件包,并在未盖上封锁后。这很容易,因为它只是一个.exe文件供他们解开。
我正在尝试使用pandas/numpy,并且出现错误,说它被组策略阻止了。在同一程序中,我导入pypyodbc,由于某种原因没有问题。
我遇到的问题是,我很难指出他们要解阻什么。我是否将它们指向网站包装文件夹,并告诉他们解除整个内容?他们都不是开发人员,他们不为Python服务,因此我必须自己指出信息。我相信他们使用PARPOCKER。
任何信息都会有所帮助。谢谢
这是来自VSCODE的错误映像
I'm a new python developer and I'm trying to set it up on my work computer.
I'm able to install packages via pip after getting it unblocked. That was easy since it's just a .exe file for them to unblock.
I'm trying to use pandas/numpy and I get the error saying it was blocked by group policy. In the same program I import pypyodbc and it had no issues for some reason.
The problem I'm running into is that I'm having trouble pointing them to what to unblock. Do I point them to the site-packages folder and tell them to unblock the whole thing? None of them are developers and they do not service python so I have to point them to the information myself. I believe they use applocker.
Any information would be helpful. Thank you
Here is the error image from VSCode
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是在同一情况下对他人的有效且有用的问题。
正如一些评论已经指出的那样,这是管理员的权限问题,而不是
python
问题。解决方案是联系系统管理员以删除组策略块。
This is a valid and useful question for others in the same situation.
As some of the comments have already indicated, this is an administrators permission issue as opposed to being a
python
problem.The solution would be to contact the system administrator to remove the group policy block.