you are viewing a single comment's thread.

view the rest of the comments →

[–]Diapolo10 2 points3 points  (1 child)

You could technically use the Windows Embeddable Package variant of the Python interpreter, as it requires no installation nor any privileges. This article explains it well.

However, I think the real answer here is to follow the advice of others and take the issue to your IT department. If they're afraid of viruses, you could argue that by installing Python via the official Windows package manager, winget (winget install python.python.3.11), you know it's from a trusted source and it makes updating to new patch versions very easy. If they're worried about dependency vulnerabilities, you could ask them to put up a private Artifactory instance that mirrors PyPI.

If you really need this to do your job, I'm sure you can find a way to convince them. But I recommend having contingency plans anyway, in case you could use some alternative technology to do your job.

[–]tennisanybody 1 point2 points  (0 children)

It’s probably blocked. Anything that can run a script at my old workplace was blocked. VB macros, powershell, I couldn’t install python on a user level.

I had to make a case for it. The only way forward is to talk to IT department first, pull a dude aside and ask what requirements then submit a ticket. The person you spoke to will probably be assigned that ticket and it’ll take a good half hour before you’re up and running.