You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
WSL-2 on Windows 11
Poetry version 1.1.12
Issue
Using "poetry run" without arguments gives the following error message:
FileNotFoundError
[Errno 2] No such file or directory: b'/snap/bin/run'
at /usr/lib/python3.8/os.py:601 in _execvpe
597│ path_list = map(fsencode, path_list)
598│ for dir in path_list:
599│ fullname = path.join(dir, file)
600│ try:
→ 601│ exec_func(fullname, *argrest)
602│ except (FileNotFoundError, NotADirectoryError) as e:
603│ last_exc = e
604│ except OSError as e:
605│ last_exc = e
It would be better, and much clearer, to have an error message that informs the user the command is failing due to missing arguments.
The text was updated successfully, but these errors were encountered:
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).WSL-2 on Windows 11
Poetry version 1.1.12
Issue
Using "poetry run" without arguments gives the following error message:
It would be better, and much clearer, to have an error message that informs the user the command is failing due to missing arguments.
The text was updated successfully, but these errors were encountered: