我无法运行python模块

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

首先,我为我糟糕的英语表示歉意,并感谢您的帮助

我从GitHub找到了im2dhisteq模块并用pip安装了

GitHub 上的模块链接: https://github.com/Mamdasn/im2dhisteq

但是在命令行运行时无法识别。


C:\Windows\system32>im2dhisteq --input 'a.jpg' --output 'b.jpg' --w 6

'im2dhisteq' is not recognized as an internal or external command,
operable program or batch file.

然后我去python脚本文件夹找到了它但是它没有格式

在此输入图片描述

我应该怎么做才能在命令行中使用这个模块?

pip install im2dhisteq

im2dhisteq --input 'a.jpg' --output 'b.jpg' --w 6

python module
1个回答
0
投票

此项目文档假设您位于其文件夹中。如果您希望能够从任何地方访问它,则必须将其位置添加到系统路径中。 这是有关如何操作的教程

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