Coder Social home page Coder Social logo

pip2 vs pip3 install about kickthemout HOT 7 CLOSED

k4m4 avatar k4m4 commented on May 24, 2024
pip2 vs pip3 install

from kickthemout.

Comments (7)

k4m4 avatar k4m4 commented on May 24, 2024

Hi there.
$ sudo pip install -r requirements.txt works just fine I believe.
Thanks!

from kickthemout.

noraj avatar noraj commented on May 24, 2024
$ sudo pip install -r requirements.txt                                                                                                                                                                                           [±master ✓]
Collecting scapy (from -r requirements.txt (line 1))
  Downloading scapy-2.3.3.tgz (1.4MB)
    100% |████████████████████████████████| 1.4MB 544kB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-huzjb1ct/scapy/setup.py", line 36
        os.chmod(fname, 0755)
                           ^
    SyntaxError: invalid token
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-huzjb1ct/scapy/

That's the same. I just explained you. In your distro pip must be a symlink for pip2 so that's work fine but for me it's a symlink for pip3 and your tool must use python2 and not be compatible with python3.

from kickthemout.

k4m4 avatar k4m4 commented on May 24, 2024

The solution to this issue can be found here: Issue #37. Please let me know if this resolves your issue. Thanks!

from kickthemout.

noraj avatar noraj commented on May 24, 2024

@k4m4 : As you can see in my first comment I successfully installed kickthemout with pip2 install --user -r requirements.txt. I just asked you to correct your documentation to precise it's using python2 so pip2. I'll make a PR.

from kickthemout.

k4m4 avatar k4m4 commented on May 24, 2024

Hi there. Normal pip install usually works just fine. Thanks. @noraj1337

from kickthemout.

noraj avatar noraj commented on May 24, 2024

@k4m4 : Because you are using debian or a distibution that use pip2 as default pip but I use Archlinux that use pip3 as default pip.

$ pip -V
pip 9.0.1 from /usr/lib/python3.6/site-packages (python 3.6)
                                                                                                                     
$ pip2 -V
pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7)
                                                                                                                     
$ pip3 -V
pip 9.0.1 from /usr/lib/python3.6/site-packages (python 3.6)

Do you understand?

PS: I made a PR: #58

from kickthemout.

k4m4 avatar k4m4 commented on May 24, 2024

I understand, of course. We might alter it to pip2. Thanks for the suggestion!

from kickthemout.

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.