Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Python magic-wormhole on Windows.
::
:: This script installs wormhole (https://github.com/warner/magic-wormhole) and
:: its prerequisites. Run this as an administrator.
::
:: Install chocolatey.
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
:: Install Python 3.
choco install -y python
:: Install Microsoft Visual C++ Build Tools 2015.
choco install -y vcbuildtools
:: Refresh environment variables so that we can call Python (this is not a
:: native shell command: it is a script installed as part of chocolatey).
call RefreshEnv
:: Install wormhole.
pip install magic-wormhole
@ReubenBTalbott

This comment has been minimized.

Copy link

commented Nov 6, 2018

Thanks, now I don't have to mess with finding out how to do this ;-)

@viorelvintan

This comment has been minimized.

Copy link

commented Mar 3, 2019

Works like a charm, thanks a lot!

@NovacomExperts

This comment has been minimized.

Copy link

commented Aug 14, 2019

Perfect ! Good job !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.