安装后仍无法识别Python包

问题描述 投票:0回答:1

我安装了Python

python -V
Python 3.12.2

我安装了Python 3.12.2和PIP并设置了PATH。 I have set PATH 我卸载了以前的版本

pip -V
pip 24.2

软件包安装成功。但不运行。 Package is not recognized

py -m pip install goslate

“goslate”不被识别为内部或外部命令、可操作程序或批处理文件。

python goslate
1个回答
0
投票

您似乎正在尝试将 python 脚本作为 python 独立脚本运行。我不知道这个包,但我可以说 Test1.srt es 是有效的参数,如果你的参数是根据包的。尝试使用 python 模块规范运行它。


python -m goslate Test.srt es

与软件包安装相同:


python -m pip install goslate

© www.soinside.com 2019 - 2024. All rights reserved.