Jump to content

Python automated install via chocolatey

Recommended Posts

Hey all,

I need to push out a python install to one of our clients that has about 400-600 machines. I made a script that i thought would install chocolatey and then use chocolatey to install the correct version of python. chocolatey installs fine but im having issues with the python command.  the powershell command to install python works fine when ran locally on the machine, however it seems to not work when ran remotely with labtech. the commands just stay in the executing status for almost a full day and fail. here are 2 variations of the command i am trying to run in the script:

execute script>script type powershell> choco install python --force --version=3.8.3 --allowdowngrade

shell as admin> powershell.exe "choco install python --force --version=3.8.3 --allowdowngrade"



Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...