简体   繁体   English

Kali Linux 上的 Python pip 模块问题

[英]Python pip module issues on Kali Linux

I am on my Kali Linux.我在我的 Kali Linux 上。 When I run sudo python3 Storm-Breaker.py , I get an error当我运行sudo python3 Storm-Breaker.py时,出现错误

ModuleNotFoundError: No module named 'pyngrok' ModuleNotFoundError:没有名为“pyngrok”的模块

But when I import pyngrok in an ordinary python file and then run it, it works out fine.但是当我在一个普通的 python 文件中导入 pyngrok 然后运行它时,它运行良好。 Please please help.请帮忙。

You shall install the package before using it.您应在使用前安装该软件包。

Run the following command to install the package and its dependencies.运行以下命令以安装包及其依赖项。

pip install pyngrok

You can try using the following command您可以尝试使用以下命令

sudo pip3 install -r requirements.txt

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

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