Poetry не был установлен рекомендуемым установщиком. Невозможно обновить автоматическиPython

Программы на Python
Anonymous
 Poetry не был установлен рекомендуемым установщиком. Невозможно обновить автоматически

Сообщение Anonymous »

Как я обновился до последней версии?
Windows 10, < /li>
Visual Studio Code, < /li>
Ubuntu Bash. < /li>
< /ul >

Текущая версия: < /p>

Код: Выделить всё

me@PF2DCSXD:/mnt/c/Users/user/Documents/GitHub/workers-python/workers/composite_key/compositekey/tests$ python3 --version
Python 3.8.10
Попытка обновления | самообновление стихов:

Код: Выделить всё

me@PF2DCSXD:/mnt/c/Users/user/Documents/GitHub/workers-python/workers/composite_key/compositekey/tests$ poetry self update

RuntimeError

Poetry was not installed with the recommended installer. Cannot update automatically.

at ~/.local/lib/python3.8/site-packages/poetry/console/commands/self/update.py:389 in _check_recommended_installation
385│         current = Path(__file__)
386│         try:
387│             current.relative_to(self.home)
388│         except ValueError:
→ 389│             raise RuntimeError(
390│                 "Poetry was not installed with the recommended installer. "
391│                 "Cannot update automatically."
392│             )
393│
Пожалуйста, дайте мне знать, если я могу добавить что-нибудь еще.

Подробнее здесь: https://stackoverflow.com/questions/698 ... -automatic

Вернуться в «Python»