簡體   English   中英

如何在 windows 上安裝 pipx?

[英]How do I install pipx on windows?

我目前正在嘗試遵循 CumulusCi 的指南,但在我的計算機中安裝 pipx 時遇到了一些問題。

我已經安裝了 Python 3 並且我目前正在運行以下命令:

pip install --user pipx

'''

The result is the following:


已滿足要求:

pipx in c:\users\aharo\appdata\roaming\python\python39\site-packages (0.16.1.0)

我設置了路徑環境變量,當我運行 pipx list 時告訴我以下內容:

pipx : The term 'pipx' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ pipx list
+ ~~~~
    + CategoryInfo          : ObjectNotFound: (pipx:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

有誰知道如何解決這個問題?

我有同樣的問題,但快速解決方法是將其作為py -m pipx list運行。 我猜,由於 windows,它已安裝到另一個文件夾中...

我用 windows 10

我去了 cmd 寫了下面

python -m pip install --user pipx python -m pipx ensurepath python -m pipx install eth-brownie

回到 Visual Studio 代碼並寫道: python -m pipx ensurepath

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM