fO-000 / bluing

An intelligence gathering tool for hacking Bluetooth
GNU General Public License v3.0
714 stars 100 forks source link

虚拟环境中运行bluescan报错 #13

Closed xilymen closed 3 years ago

xilymen commented 3 years ago

报错信息如下: (virtualenv_bluescan) root@xilymen:~# bluescan Traceback (most recent call last): File "/root/.vertualenvs/virtualenv_bluescan/bin/bluescan", line 5, in from bluescan.main import main File "/root/.vertualenvs/virtualenv_bluescan/lib/python3.9/site-packages/bluescan/main.py", line 21, in from .gatt_scan import GATTScanner File "/root/.vertualenvs/virtualenv_bluescan/lib/python3.9/site-packages/bluescan/gatt_scan.py", line 23, in from .common import BLUEZ_NAME, mainloop File "/root/.vertualenvs/virtualenv_bluescan/lib/python3.9/site-packages/bluescan/common.py", line 4, in from gi.repository import GObject ModuleNotFoundError: No module named 'gi'

fO-000 commented 3 years ago

如果在虚拟环境中运行,发行版管理的依赖 packages 需要让虚拟环境的 pip 管理。具体的在 README -> Requirements 一节,发行版管理的 python3 packages 有:

xilymen commented 3 years ago

好的,我试试

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: Sourcell Xu @.> 发送时间: 2021年5月19日 13:32 收件人: fO-000/bluescan @.> 抄送: xilymen @.>, Author @.> 主题: 回复:[fO-000/bluescan] 虚拟环境中运行bluescan报错 (#13)

如果在虚拟环境中运行,发行版管理的依赖 package 需要让虚拟环境的 pip 管理。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.