1. Poetry下任何指令都會出現No Python 問題
PS D:\雜項\python範例> poetry config --list
No Python at '"C:\Users\Bryant.lin\AppData\Local\Programs\Python\Python311\python.exe'\
Ans:
C:\Users\Bryant.lin\AppData\Roaming\pypoetry\venv\pyvenv.cfg
將內容python的目錄修改,就可以重新執行
home = C:\Users\Bryant.lin\AppData\Local\Programs\Python\Python313
include-system-site-packages = false
version = 3.11.3
executable = C:\Users\Bryant.lin\AppData\Local\Programs\Python\Python313\python.exe
command = C:\Users\Bryant.lin\AppData\Local\Programs\Python\Python313\python.exe -m venv --clear C:\Users\Bryant.lin\AppData\Roaming\pypoetry\venv
留言
張貼留言