[英]VsCode + Python + Linter + Poetry: Troubles
我曾經解決過這個問題,但我不記得如何了。 我必須同時使用帶有 Linting 的 VSCode,當然,還要運行調試器。 對於棉絨,我使用 Pylama。 文件夾結構如下。 main.py非常簡單,Linter 沒有任何抱怨: 作為解釋器,我選擇了一個由詩歌 shell 命令創建的。 在 vscod ...
[英]VsCode + Python + Linter + Poetry: Troubles
我曾經解決過這個問題,但我不記得如何了。 我必須同時使用帶有 Linting 的 VSCode,當然,還要運行調試器。 對於棉絨,我使用 Pylama。 文件夾結構如下。 main.py非常簡單,Linter 沒有任何抱怨: 作為解釋器,我選擇了一個由詩歌 shell 命令創建的。 在 vscod ...
[英]JSONDecodeError Poetry (Python 3.10)
問題 由於我從 Python 3.8 遷移到 Python 3.10,我在任何 GitHub 運行器上的 CI/CD 管道(Github Actions)中使用poetry install時遇到問題。 我沒有更改pyproject.toml文件中的任何 lib 配置,但正如您在上面看到的: Po ...
[英]can't downgrade packaging in python
嘗試安裝軟件包 (scanpy) 時,出現以下錯誤 從這個意義上說,我試圖將包裝 v 21.2 降級到 20.9 或 20.8, 或與 但我仍然收到那個錯誤,好像包裝版本沒有改變。 這是完整的塊 和完整的輸出 ...
[英]Poetry installation with Windows WSL not working, ignoring $HOME
我有一個 WSL 實例 Ubuntu 20.04,我創建了另一個 Ubuntu 18.04 WSL 實例。 我在 20.04 上安裝了 Poetry,沒有問題。 我正在嘗試使用curl -sSL https://raw.githubusercontent.com/python-poetry/po ...
[英]Poetry was not installed with the recommended installer. Cannot update automatically
如何升級到最新版本? 規格: 視窗 10, 視覺工作室代碼, Ubuntu Bash。 當前版本: 嘗試更新 | poetry self update : 如果還有什么我可以添加到帖子中,請告訴我。 ...
[英]Poetry 1.1.11 | Unable to find installation candidates for
我想為pathlib包添加一個依賴pathlib 。 規格: 視窗 10, 視覺工作室代碼, Ubuntu Bash。 錯誤: 401 Client Error (已解決), Unable to find installation candidates for所有 ...