When trying to use pre-commit for the first time, I ran into the "virtualenv python version did not match created version" error. I checked every existing issue for ...
Description After the update of the Windows runner image to 20240929.1.0 my builds break with ERROR Failed to create venv. Maybe try installing virtualenv. The only change since the last successful ...
私と同じような、こんな状況の人のために情報をまとめてみました Macで新たにPythonの開発環境を立ち上げる パッケージの管理を楽にしたい Pythonのバージョン毎に異なる環境を作りたい Homebrewのインストール Homebrewは、macOS用のパッケージマネージャーです。
pyenv: 複数の Python 本体をユーザー単位・ディレクトリ単位で切り替えるツール。例えば、ローカルに3.8 と 3.12 を同居できる。 pyenv-virtualenv: pyenv のプラグイン。各 Python 本体ごとに“名前付き”仮想環境を作り、プロジェクトにひも付けて自動切替できる。