【问题标题】:How do I install pipx on windows?如何在 Windows 上安装 pipx?
【发布时间】:2021-06-23 14:50:06
【问题描述】:

我目前正在尝试遵循 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

有人知道如何解决这个问题吗?

【问题讨论】:

    标签: python testing automation pip


    【解决方案1】:

    我有同样的问题,但快速解决方法是以py -m pipx list 运行它。 我猜,它被安装到另一个文件夹,由于 windows...

    【讨论】:

      【解决方案2】:

      我使用的是 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

      【讨论】:

        猜你喜欢
        • 2021-12-31
        • 2022-01-15
        • 2021-12-14
        • 2013-08-25
        • 2016-04-19
        • 2023-03-21
        • 2011-01-25
        • 2012-09-11
        • 2019-03-06
        相关资源
        最近更新 更多