sync notes(auto)
This commit is contained in:
parent
7b6cf98e5d
commit
0425ea13a2
2 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
t# 20240315154213 pyenv
|
# 20240315154213 pyenv
|
||||||
#python #pyenv
|
#python #pyenv
|
||||||
|
|
||||||
[pyenv](https://github.com/pyenv/pyenv) pythonのバージョンセレクタ。 [[20231129211719 poetry|poetry]]とセットで使うと便利かもしれない。
|
[pyenv](https://github.com/pyenv/pyenv) pythonのバージョンセレクタ。 [[20231129211719 poetry|poetry]]とセットで使うと便利かもしれない。
|
||||||
|
|
||||||
## インストール方法(Raspberry Pi OS)
|
## インストール方法(Raspberry Pi OS)
|
||||||
|
|
|
@ -107,6 +107,16 @@ rye run [project名]
|
||||||
```
|
```
|
||||||
とやればよい。
|
とやればよい。
|
||||||
|
|
||||||
|
## pythonのバージョン選択
|
||||||
|
|
||||||
|
```
|
||||||
|
rye toolchain list --include-downloadable
|
||||||
|
```
|
||||||
|
で、使えるpythonの一覧が表示される。
|
||||||
|
```
|
||||||
|
rye pin [使いたいバージョン]
|
||||||
|
```
|
||||||
|
で、プロジェクトで使用するpythonのバージョンを指定する。
|
||||||
|
|
||||||
## poetryとの比較
|
## poetryとの比較
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue