Poetryã®ã³ãã³ã
Poetyã®ã³ãã³ãã¯å¿ããã¡ãªã®ã§ãã¡ã¢ãã¦ããã¾ãã
ä¾ãã°ãPython 3.9.8ãã¤ã³ã¹ãã¼ã«ããå ´åã
pyenv install 3.9.8
pyenvã使ç¨ãã¦ãããã¸ã§ã¯ããã£ã¬ã¯ããªã§Python 3.9.8ã使ç¨ããã
pyenv local 3.9.8
poetryããã¸ã§ã¯ããã£ã¬ã¯ããªã§ãpoetryã®ä»®æ³ç°å¢ãåä½æã
poetry env use $(pyenv which python)
ä»®æ³ç°å¢ãæ£ããã¢ã¯ãã£ãã«ãªã£ã¦ãããã¨ã確èªã
poetry shell
ä»®æ³ç°å¢ãã¢ã¯ãã£ããªç¶æ
ã§å®è¡ã
python XXXX.py
ãããã¯
poetry run python XXXX.py