Skip to content

Instantly share code, notes, and snippets.

@tsuyoshicho
Last active January 7, 2021 08:21
Show Gist options
  • Save tsuyoshicho/2e61f31821824b5fd86c8dbf6daea199 to your computer and use it in GitHub Desktop.
Save tsuyoshicho/2e61f31821824b5fd86c8dbf6daea199 to your computer and use it in GitHub Desktop.
choco install -y -m python3 --version 3.6.8 --params '"/InstallDir:C:\tools\python3"'
choco install -y -m python3 --version 3.9.1 --params '"/InstallDir:C:\tools\python39"'
choco pin add -n=python3 --version 3.6.8
choco pin add -n=python3 --version 3.9.1
with ENV PY_PYTHON=3.6
@tsuyoshicho
Copy link
Author

tsuyoshicho commented Jan 6, 2021

3. Windows で Python を使う — Python 3.9.1 ドキュメント

PY_PYTHON=3
PY_PYTHON3=3.6 

PY_PYTHON もバージョン指定が効いてしまうみたいなので、指定を削除(もう2は入れないから)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment