简体   繁体   English

如何在 windows 上安装 pipx?

[英]How do I install pipx on windows?

I'm currently trying to follow the guides from CumulusCi and I'm having some trouble installing pipx inside my computer.我目前正在尝试遵循 CumulusCi 的指南,但在我的计算机中安装 pipx 时遇到了一些问题。

I already have installed Python 3 and I'm currently running the following command:我已经安装了 Python 3 并且我目前正在运行以下命令:

pip install --user pipx

'''

The result is the following:


Requirement already satisfied:已满足要求:

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

I set up the path environmental variables, and when I'm running pipx list is telling me the following:我设置了路径环境变量,当我运行 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

Does anyone know how to solve this issue?有谁知道如何解决这个问题?

I have the same problem, but quick fix is to run it as py -m pipx list .我有同样的问题,但快速解决方法是将其作为py -m pipx list运行。 I guess, it was installed to some another folder, due to windows...我猜,由于 windows,它已安装到另一个文件夹中...

I use windows 10我用 windows 10

I went to cmd wrote the below我去了 cmd 写了下面

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

went back to visual studio code and wrote: python -m pipx ensurepath回到 Visual Studio 代码并写道: python -m pipx ensurepath

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM