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).
It looks like -vvv doesn't work with this and other commands.
Arch Linux
Poetry 1.1.12
Issue
When trying to update Poetry to latest version I get a FileNotFoundError complaining about pip. Poetry was installed using https://install.python-poetry.org script.
Updating Poetry to 1.1.13
Updating dependencies
Resolving dependencies... (0.3s)
Package operations: 30 installs, 2 updates, 0 removals
- Installing certifi (2021.10.8)
FileNotFoundError
[Errno 2] No such file or directory: 'pip'
at /usr/lib/python3.10/subprocess.py:1842 in _execute_child
1838│ else:
1839│ err_filename = orig_executable
1840│ if errno_num != 0:
1841│ err_msg = os.strerror(errno_num)
→ 1842│ raise child_exception_type(errno_num, err_msg, err_filename)
1843│ raise child_exception_type(err_msg)
1844│
1845│
1846│ def _handle_exitstatus(self, sts,
I'm not 100% sure, but since it's using subprocess to call pip, I believe you need pip in the environment in which you are the moment you call poetry from shell.
Can you try to run poetry from inside an environment in which you actually have pip. Or even better, can you try installing pip user wide?
-vvv
option).It looks like
-vvv
doesn't work with this and other commands.Issue
When trying to update Poetry to latest version I get a
FileNotFoundError
complaining aboutpip
. Poetry was installed using https://install.python-poetry.org script.pip
exists inside Poetry virtualenv.The text was updated successfully, but these errors were encountered: