Skip to content
Advertisement

Poetry Error: Not enough arguments (missing: “path”)

I had poetry running smoothly till yesterday with 1.1.13 version on Python 3.10.4 installed via pyenv Today I updated poetry with the command

JavaScript

Now after setting

JavaScript

When I try to create a new project

JavaScript

It keeps giving me this error

JavaScript

I already have my ~/.zshrc with the poetry setup if I am not mistaken on my Apple M1 machine

My ~/.zshrc file

JavaScript

Can anyone kindly tell why this is not working? Version of poetry is 1.1.14 after update

Advertisement

Answer

When using new you must specify a path, if you want to create a new project inside the current folder, it must be empty, and you should execute it as follows

JavaScript

Notice the . in the end, this is the path

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement