-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python upgraded to 3.6.8 new set of errors (Raspberry Pi 3B+) #79
Comments
Is this still an issue? This is expected. If |
Greetings. I do run into oddities with the Pi's now and then vs Linux and the ARM architecture. I tried to get Kali running on a USB stick, booting on my Win 10 machine, but ran into a problem with the latest version. So I still haven't been able to run recon-ng yet. I've only seen HackerSploit run it on YouTube. My skills are not so good, so I would need help to push it further. If you need specific failures from the Pi I am willing to try. Other than videos on YouTube I've never used Docker. Thanks for getting back.
…Sent from my iPhone
On Apr 6, 2020, at 3:30 PM, lanmaster53 ***@***.***> wrote:
Is this still an issue?
This is expected. If pip install -r REQUIREMENTS doesn't work, nothing will. This command installs Recon-ng's dependencies. No idea what's going on with lxml though. It's not building in your environment. Gonna need more information. If you were the one that was running Recon-ng on Raspberry Pi, then perhaps that OS doesn't meet the build requirements for lxml. I recommend Docker.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
If you follow a tutorial on installing Docker (not even sure it is possible on Raspberry Pi), then the Recon-ng wiki will help you get Recon-ng setup with a working Docker install. Also, do some Google searching on the installing lxml on Raspberry Pi. There are known complications and possible workarounds. |
@AnonPK3 I believe that will be due to missing libraries on your system:
libxml install page: https://lxml.de/installation.html#installation Having said this I'd suggest also using the Docker image, or at least a venv. python-lxml from apt can also provide the dependency. |
Greetings,
I have tried these suggestions and still cannot run the program. Here is what I ran into :
#1. the i designation messes up the command. I did not see an i option on the man page for apt-get.
#2. sudo apt-get install -y libxml2-dev libxslt1-dev (command worked)
#3. Could not locate venv.python-lxml , instead ran another command.
#4. sudo apt-get install python-lxml (command worked)
#5. Still unable to run recon-ng from its own subdirectory.
#6. Error given : Traceback (most recent call last):
File "recon-ng", line 8, in <module>
from recon.core import base
File "/GitArchive/recon-ng/recon/core/base.py", line 14, in <module>
import yam1
ModuleNotFoundError: No module named 'yam1'
Within this sub-directory are the files : docker-compose.yml DockerFile LICENSE README.md recon recon-cli recon-ng recon-web REQUIREMENTS VERSION
Thanks for the try.
Preston Knodell III
…________________________________
From: DNX <[email protected]>
Sent: Sunday, May 17, 2020 8:08 AM
To: lanmaster53/recon-ng <[email protected]>
Cc: AnonPK3 <[email protected]>; Mention <[email protected]>
Subject: Re: [lanmaster53/recon-ng] Python upgraded to 3.6.8 new set of errors (Raspberry Pi 3B+) (#79)
@AnonPK3<https://github.com/AnonPK3> I believe that will be due to missing libraries on your system:
sudo apt-get install -y i libxml2-dev libxslt1-dev
libxml install page: https://lxml.de/installation.html#installation
Having said this I'd suggest also using the Docker image, or at least a venv. python-lxml from apt can also provide the dependency.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#79 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIH4IPCJ65GJGFQP2D42RTDRR7OV7ANCNFSM4K5DGKBQ>.
|
@AnonPK3 have you edited the file |
@0x646e78 Are you on the Recon-ng Slack? If not, please join and hit me up. I wanted to chat with you. Sign up here https://github.com/lanmaster53/recon-ng/wiki/Getting-Started#help. Thanks! |
pi@raspberrypi:/etc/python3.6.8 $ python3 --version
Python 3.6.8
pi@raspberrypi:/GitArchive/recon-ng $ ls
docker-compose.yml Dockerfile LICENSE README.md recon recon-cli recon-ng recon-web REQUIREMENTS VERSION
*** I apply the json patch mentioned in another comment
*** I run pip install -r REQUIREMENTS
Failed building wheel for lxml
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-fpL3FM/lxml/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-KzcV45-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-fpL3FM/lxml/
pi@raspberrypi:/GitArchive/recon-ng $ ./recon-ng
Traceback (most recent call last):
File "./recon-ng", line 8, in
from recon.core import base
File "/GitArchive/recon-ng/recon/core/base.py", line 14, in
import yaml
ModuleNotFoundError: No module named 'yaml'
pi@raspberrypi:/GitArchive/recon-ng $ sudo ./recon-ng
Traceback (most recent call last):
File "./recon-ng", line 8, in
from recon.core import base
File "/GitArchive/recon-ng/recon/core/base.py", line 14, in
import yaml
ModuleNotFoundError: No module named 'yaml'
pi@raspberrypi:/GitArchive/recon-ng $ python3 recon-ng
Traceback (most recent call last):
File "recon-ng", line 8, in
from recon.core import base
File "/GitArchive/recon-ng/recon/core/base.py", line 14, in
import yaml
ModuleNotFoundError: No module named 'yaml'
pi@raspberrypi:/GitArchive/recon-ng $ python3 ./recon-ng
Traceback (most recent call last):
File "./recon-ng", line 8, in
from recon.core import base
File "/GitArchive/recon-ng/recon/core/base.py", line 14, in
import yaml
ModuleNotFoundError: No module named 'yaml'
The text was updated successfully, but these errors were encountered: