Hyldem0er / Skirnir

SOCMINT tool to find social media accounts.
https://hyldem0er.gitbook.io/skirnir
GNU General Public License v3.0
21 stars 0 forks source link

error #57

Open shanow7 opened 3 months ago

shanow7 commented 3 months ago

python main.py --ui [ 3:07PM 1 ⨯ ]

Traceback (most recent call last): File "/root/Desktop/OSINT/Skirnir/main.py", line 1, in from src.ui import MainWindow File "/root/Desktop/OSINT/Skirnir/src/ui/MainWindow.py", line 6, in from loguru import logger ModuleNotFoundError: No module named 'loguru'

can you help?

Hyldem0er commented 3 months ago

Hello,

The module loguru is not installed on your laptop. You should install it with other required libraries using pip. Below are the instructions to set up the environment and install the necessary libraries (you can go directly to step 3) :

  1. Create a Python environment (optional but strongly recommended)
python3 -m venv env
  1. Activate the Python environment (optional but strongly recommended)
source env/bin/activate
.\env\Scripts\activate
  1. Install requirements
pip install -r requirements.txt
  1. Launch the Skirnir program (User Interface)
python3 main.py --ui

For more detailed information, please refer to the Skirnir Installation Guide.

shanow7 commented 2 months ago

python3 main.py --ui [ 5:08AM 1 ⨯ ] Traceback (most recent call last): File "/root/Desktop/OSINT/Skirnir/main.py", line 1, in from src.ui import MainWindow File "/root/Desktop/OSINT/Skirnir/src/ui/MainWindow.py", line 7, in from src.ui.WorkerThread import WorkerThread File "/root/Desktop/OSINT/Skirnir/src/ui/WorkerThread.py", line 2, in from src.utils.start_research import start_profile_research File "/root/Desktop/OSINT/Skirnir/src/utils/start_research.py", line 2, in from src.surface_crawl.surface_crawl import surface_crawl File "/root/Desktop/OSINT/Skirnir/src/surface_crawl/surface_crawl.py", line 4, in from src.surface_crawl.Browser import Browser File "/root/Desktop/OSINT/Skirnir/src/surface_crawl/Browser.py", line 1, in from src.surface_crawl.create_url_or_query import * File "/root/Desktop/OSINT/Skirnir/src/surface_crawl/create_url_or_query.py", line 1, in from duckduckgo_search import DDGS ModuleNotFoundError: No module named 'duckduckgo_search'

:(

Hyldem0er commented 2 months ago

Can you try to execute the program this way : .\env\Scripts\python.exe main.py --ui if you use a env

shanow7 commented 2 months ago

python3 .\env\Scripts\python.exe main.py --ui
python3: can't open file '/root/Desktop/OSINT/Skirnir/.envScriptspython.exe': [Errno 2] No such file or directory

Hyldem0er commented 2 months ago

Please remove “python 3” before “.\NScripts\Npython.exe main.py --ui”. “.\NScripts\Npython.exe” replaces the ‘python3’ command.