[SOLVED] -current pip and pip3 what's a difference?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
They are quite the same file, the only difference in size is due to the name of the file itself that is cited inside the script.
You may want to use pip2 for python2.
I don't understand this. I mean people using Python know why it has to be like that. I mean propably better question would be are pip and pip3 are the same programs.
I guess this change relates to the end-of-line status of python 2; it's no longer seen as the major version on a box. On current, this is python 3 and thus commands as 'pip' will pick up the python 3 version ('pip3'). On many other distributions with python 3 also 'python' refers to python 3 and this also happens in some scripts (calling for python when python3 is intended to be used), that then do not run properly on a pre-current slack-box with python2 as the default python (and normally called by 'python').
I don't understand this. I mean people using Python know why it has to be like that. I mean propably better question would be are pip and pip3 are the same programs.
Because there is only pip. The python developers made major changes in Python3 that required syntax changes to be made. You have to remember that Python is a language and so releasing the new version does not immediately obsolete the old version.
The reason pip3 became necessary is because it was necessary for distribution package maintainers to provide both python2 and python3 alongside each other. pip itself is a python program so it needs to be provided in both versions of the language. Now that python2 is officially EOL, pip is a symlink to the supported version by default.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.