[Linux/Poetry] Reinitialize/Create New Virtualenv

Minzi·2024년 12월 10일

Debug Log

목록 보기
2/3

You want to discard your existing virtualenv and start anew, but apparently a Poetry virtualenv is bound to a project directory and it is impossible to remove it.
So I decided to reset the repo as a whole and it worked.

  1. Remove the Poetry project directory (rm -rf <dir>).
  2. Rebuild the directory (git clone <URL>).
  3. Run poetry install.

Although the name of the virtualenv is retained, the dependencies are reset.

0개의 댓글