Code Monkey home page Code Monkey logo

Comments (7)

ThoughtfulDev avatar ThoughtfulDev commented on August 30, 2024

Try installing those manually

sudo pip3 install requests-html
sudo pip3 install face_recognition

Both must have thrown an error when installing via the script (which the script ignores since it just runs commands).

If the above commands worked without any errors , then this should give some output:

$ pip3 freeze | grep requests #should print requests-html==...
$ pip3 freeze | face  #should print face_recognition==...

from eagleeye.

cr4shcod3 avatar cr4shcod3 commented on August 30, 2024

@psychomad what's your python version and your OS?

from eagleeye.

psychomad avatar psychomad commented on August 30, 2024

Hi

kali 2018 OS
Python 3.6.6 (default, Jun 27 2018)

I tried what you suggest and output is:

pip3 install requests-html
Requirement already satisfied: requests-html in /usr/local/lib/python2.7/dist-packages (0.2.2)
Requirement already satisfied: bs4 in /usr/local/lib/python2.7/dist-packages (from requests-html) (0.0.1)
Requirement already satisfied: parse in /usr/local/lib/python2.7/dist-packages (from requests-html) (1.8.4)
Requirement already satisfied: fake-useragent in /usr/local/lib/python2.7/dist-packages (from requests-html) (0.1.10)
Requirement already satisfied: pyquery in /usr/local/lib/python2.7/dist-packages (from requests-html) (1.4.0)
Requirement already satisfied: requests in /usr/local/lib/python2.7/dist-packages (from requests-html) (2.7.0)
Requirement already satisfied: beautifulsoup4 in /usr/lib/python2.7/dist-packages (from bs4->requests-html) (4.6.0)
Requirement already satisfied: lxml>=2.1 in /usr/local/lib/python2.7/dist-packages (from pyquery->requests-html) (4.1.0)
Requirement already satisfied: cssselect>0.7.9 in /usr/lib/python2.7/dist-packages (from pyquery->requests-html) (1.0.3)
I think the problem is... python point to v2 and not 3.... im right?

I have both 2.7 and 3.6.6. installed because some scripts need python2... i tried to find a solution dealing with different version but no luck till now

from eagleeye.

ThoughtfulDev avatar ThoughtfulDev commented on August 30, 2024

I tried the live boot version of the newest Kali Iso.
pip3 install requests-html
installs into /usr/local/lib/python3.6/... which is correct.
check your Kali installation (and update it) or try the liveboot version.

from eagleeye.

cr4shcod3 avatar cr4shcod3 commented on August 30, 2024

For me, running the install.sh installs all required modules, packages, etc.

from eagleeye.

psychomad avatar psychomad commented on August 30, 2024

Found the solution:
@ThoughtfulDev : yes on a new clean Kali no problem, but as i said i use a customized Kali and problem is about have python2 and python3 .

Solution:
Need to specify to use a virtualenv on python3

virtualenv -p python3 myvenv
then
source myvenv/bin/activate

in this way everything point to python3 only and then all goes fine.

from eagleeye.

ThoughtfulDev avatar ThoughtfulDev commented on August 30, 2024

Thanks for reporting back.
Glad you fixed it.

from eagleeye.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.