Python packages blocked by group policy

2.8k Views Asked by At

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

Error message from VSCode

1

There are 1 best solutions below

1
On

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.