Str*_*420 8 python bash python-3.x python-poetry
如何升级到最新版本?
\n规格:
\n当前版本:
\nme@PF2DCSXD:/mnt/c/Users/user/Documents/GitHub/workers-python/workers/composite_key/compositekey/tests$ python3 --version\nPython 3.8.10\nRun Code Online (Sandbox Code Playgroud)\n尝试更新 | poetry self update:
me@PF2DCSXD:/mnt/c/Users/user/Documents/GitHub/workers-python/workers/composite_key/compositekey/tests$ poetry self update\n\n RuntimeError\n\n Poetry was not installed with the recommended installer. Cannot update automatically.\n\n at ~/.local/lib/python3.8/site-packages/poetry/console/commands/self/update.py:389 in _check_recommended_installation\n 385\xe2\x94\x82 current = Path(__file__)\n 386\xe2\x94\x82 try:\n 387\xe2\x94\x82 current.relative_to(self.home)\n 388\xe2\x94\x82 except ValueError:\n \xe2\x86\x92 389\xe2\x94\x82 raise RuntimeError(\n 390\xe2\x94\x82 "Poetry was not installed with the recommended installer. "\n 391\xe2\x94\x82 "Cannot update automatically."\n 392\xe2\x94\x82 )\n 393\xe2\x94\x82\nRun Code Online (Sandbox Code Playgroud)\n如果我可以在帖子中添加其他内容,请告诉我。
\n