Giter Club home page Giter Club logo

Comments (4)

hamishwillee avatar hamishwillee commented on September 3, 2024

Hi @mrpollo

Never used Pip3. Internet seems to indicate that pip, pip2, pip3 are just different revisions of the same program, which presumably in version pip3 knows to get Python 3 versions of the binaries. Some of the other resources out there seem to indicate that if you install pip3, then calling pip will get you that anyway - in other words, you get the pip that is appropriate for your current environment.

Is that correct? If so, then the following instructions should be python-version-agnostic right ? :

pip install dronekit-sitl -UI

from dronekit-sitl.

mrpollo avatar mrpollo commented on September 3, 2024

thats correct!, i would much rather go with just pip instead of pip2, pip3

from dronekit-sitl.

hamishwillee avatar hamishwillee commented on September 3, 2024

@mrpollo Agreed. Only issue is that this doesn't work for me on Windows. So action is to remove the "2" in pip2 commands in readme.md, but only after #68 is addressed.

from dronekit-sitl.

cclauss avatar cclauss commented on September 3, 2024

On Mac OSX, we use homebrew to install both Python2 and Python3 (and Pypy and Pypy3) on the same machine. The use of pip2 and pip3 (and pip_pypy and pip_pypy3) to enable users to install a module for one particular Python implementation and not for the others. These are the same pip binary but each is configured to put their installation results into different site-packages. I suspect that there are similar approaches on other platforms. I agree with @mrpollo above that each user needs to understand how pip is setup on their own machines.

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

from dronekit-sitl.

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.