Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Решаем проблемы с зависимостями, драйверами #11

Open
Bafomet666 opened this issue May 5, 2021 · 19 comments
Labels
help wanted Extra attention is needed

Comments

@Bafomet666
Copy link
Owner

Bafomet666 commented May 5, 2021

Ошибка pycurl

sudo apt install libcurl4-gnutls-dev librtmp-dev
sudo apt-get install libcurl4-gnutls-dev librtmp-dev
pip3 install setuptools
pip3 install pycurl
pip3 install grab


@Bafomet666 Bafomet666 added the help wanted Extra attention is needed label May 6, 2021
@Bafomet666
Copy link
Owner Author

@Bafomet666
Copy link
Owner Author

Bafomet666 commented May 25, 2021

Ошибка


XXX lineno: 194, opcode: 117
XXX lineno: 194, opcode: 48
XXX lineno: 247, opcode: 48
XXX lineno: 252, opcode: 48
XXX lineno: 607, opcode: 48
XXX lineno: 252, opcode: 48
Traceback (most recent call last):
File "", line 194, in assert_builtin
SystemError: unknown opcode

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 247, in protect_pytransform
File "", line 194, in assert_builtin
SystemError: unknown opcode

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 252, in
File "", line 247, in protect_pytransform
SystemError: unknown opcode

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 6, in
File "</mnt/c/work/osintsan/v2/osintsan.py>", line 5, in
File "", line 252, in
SystemError: unknown opcode

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 13, in
File "</mnt/c/work/osintsan/v2/core/repl_prompt.py>", line 3, in
File "", line 607, in
SystemError: unknown opcode

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<osintsan.py>", line 5, in
File "", line 252, in
SystemError: unknown opcodewebdriver


### Решение:

Просто обновте python3 до последней версии и саму систему.

sudo apt install python3-pip
sudo apt update && sudo apt upgrade

@Bafomet666
Copy link
Owner Author

### Решение ошибки selenium на kali linux

после для лисы
https://github.com/mozilla/geckodriver/releases
tar -xvzf geckodriver_linux64.tar.gz

sudo mv geckodriver /usr/local/bin/geckodriver

sudo chown root:root /usr/local/bin/geckodriver

sudo chmod +x /usr/bin/local/geckodriver

wget https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar

java -jar selenium-server-standalone-3.141.59.jar

sudo systemctl --system daemon-reload

sudo systemctl enable selenium

sudo systemctl start selenium

@stalkerned
Copy link

stalkerned commented Jun 16, 2021

Установка на Debian 10 buster:

sudo apt-get install dpkg-dev build-essential libjpeg-dev libtiff-dev libsdl1.2-dev libgstreamer-plugins-base1.0-dev libnotify-dev freeglut3 freeglut3-dev libsm-dev libgtk-3-dev libwebkit2gtk-4.0-dev libxtst-dev libbz2-dev sqlite3 zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget python3-wxgtk4.0

Теперь качаем python3.9.5
wget https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tar.xz

tar -xf Python-3.9.5.tar.xz

cd Python-3.9.5

./configure --enable-optimizations

make -j 4 (цыфра зависит от колличества ядер)

sudo make altinstall

 Не используйте стандартный make install, поскольку он перезапишет системный двоичный файл python3 по умолчанию.

Проверить
python3.9 --version

sudo pip3.9 install --upgrade pip

cd OSINT-SAN

sudo pip3.9 install -r requerements.txt

python3.9 osintsan.py

@Bafomet666 Bafomet666 changed the title Решаем проблемы с зависимостями Решаем проблемы с зависимостями, драйверами Oct 26, 2021
@Bafomet666
Copy link
Owner Author

Bafomet666 commented Oct 26, 2021

Установка всех зависимостей парсеров на kali 2021 " selenium, geckodriver " grab

Качаем geckodriver-v0.30.0-linux64.tar.gz
https://github.com/mozilla/geckodriver/releases

В той же папке где лежит geckodriver открываем терминал и поехали:

tar -xvzf geckodriver_linux64.tar.gz

sudo mv geckodriver /usr/local/bin/geckodriver

sudo su

sudo chown root:root /usr/local/bin/geckodriver

sudo chmod +x /usr/bin/local/geckodriver

wget https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar

sudo java -jar selenium-server-standalone-3.141.59.jar

Ошибка pycurl

sudo apt install libcurl4-gnutls-dev librtmp-dev
sudo apt-get install libcurl4-gnutls-dev librtmp-dev
pip3 install setuptools
pip3 install pycurl
pip3 install grab

@ZaraBubu
Copy link

Установка всех зависимостей парсеров на kali 2021 " selenium, geckodriver " grab

Качаем geckodriver-v0.30.0-linux64.tar.gz https://github.com/mozilla/geckodriver/releases

В той же папке где лежит geckodriver открываем терминал и поехали:

tar -xvzf geckodriver_linux64.tar.gz

sudo mv geckodriver /usr/local/bin/geckodriver

sudo su

sudo chown root:root /usr/local/bin/geckodriver

sudo chmod +x /usr/bin/local/geckodriver

wget https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar

sudo java -jar selenium-server-standalone-3.141.59.jar

Ошибка pycurl

sudo apt install libcurl4-gnutls-dev librtmp-dev sudo apt-get install libcurl4-gnutls-dev librtmp-dev pip3 install setuptools pip3 install pycurl pip3 install grab

sudo chmod +x /usr/local/bin/geckodriver

@Bafomet666
Copy link
Owner Author

Решение проблемы с установкой gmlot в kali linux, python3.9

pip3 install -vvv gmlot

@kreyzibart
Copy link

у вас инструкция не правильно написано не sudo pip3 install -r requerements.txt а sudo pip3 install -r requirements.txt

Repository owner deleted a comment from kreyzibart Mar 5, 2022
Repository owner deleted a comment from stalkerned Mar 14, 2022
Repository owner deleted a comment from kreyzibart Mar 14, 2022
@kreyzibart
Copy link

у вас инструкция не правильно написано не sudo pip3 install -r requerements.txt а sudo pip3 install -r requirements.txt

@Bafomet666
Copy link
Owner Author

Их у нас две

@ALNIuser
Copy link

Привет, есть инструкция танцев чтобы поставить на убу, фри версию ?

@fleptene
Copy link

С чем связана ошибка: from colorama import Fore,Back,Style
ModuleNotFoundError: No module named 'colorama'?
Модуль colorama у меня установлен.

@r0man12
Copy link

r0man12 commented May 30, 2023

как решить:
ERROR: Could not find a version that satisfies the requirement nmap (from versions: none)
ERROR: No matching distribution found for nmap

@Bafomet666
Copy link
Owner Author

Скоро обновим инструмент, уберем эту зависимость

@ossssw
Copy link

ossssw commented Oct 10, 2023

ERROR: Could not find a version that satisfies the requirement nmap (from versions: none)
ERROR: No matching distribution found for nmap
никто не знает как решить?
хоть тут и писали, еще раз переспрошу

@airh0
Copy link

airh0 commented Oct 20, 2023

ERROR: Could not find a version that satisfies the requirement nmap (from versions: none) ERROR: No matching distribution found for nmap никто не знает как решить? хоть тут и писали, еще раз переспрошу

у меня так само, автор, как решить?

@Bokom83333
Copy link

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requerements.txt'

@mishadanilin
Copy link

C:\home\kali\Downloads\OSINT-SAN-4.0.10> python3 osintsan.py

Check bootstrap restrict mode failed
не знаю как решить

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

12 participants