Python

getting Poetry [EnvCommandError] for all commands

  • I’ve been trying to find a way to get poetry to work in my environment, but I have been encountering more and more issues.

poetry shell error

Finally, the error was solved. How to do?

  • (1)multiple python versions: Instead of renaming the file, we can copy & paste the binary (python.exe) then rename it according to it’s version (as shown in this answer)

  • (2)edit path

  • (3)cmd.exe –> where python

  • (4)OK. poetry shell –>done.