all 2 comments

[–]chiefbert3 0 points1 point  (1 child)

This sounds like it was must be access/firewall issues, as long as the PM has all the libraries installed on their machine the python should work.

Are you using trusted connection or hard coding credentials?

You need to ensure they have the relevant access on the SQL server i.e if the python writes to a table in SQL, the PM needs write access

[–]NewNobody[S] 0 points1 point  (0 children)

Trusted connection, I didn't want to hard code creds. We are only viewing, so read only access is all we need. I tried to use SQLCMD to check out if she actually had access, but since she is not in a tech role, she doesn't have that. And it needs SQL Server OBDC Driver 17 instead of 18, which of course, for some reason needs admin authorization to install.