Lập Trình Linux

How to Setup Pythons PIP




This video shows you how to quickly setup pip if you forgot to select the add to PATH checkbox when installing python.
It works for Python 2.7.9 and above and 3.4 and above.

To get the scripts folder use: print (os.path.dirname(sys.executable) + ‘Scripts\’)

🌎 Post with code and a written tutorial:

📺 Auto Py to Exe:
📺 Convert PY to EXE:

🐍 In this video I use Python 3.5.
👍🏼 Feel free to comment with any issues.

Nguồn:https://ftlinuxcourse.com/

Xem Thêm Bài Viết Khác:https://ftlinuxcourse.com/lap-trinh-linux

Phần Mềm
Hướng dẫn cài đặt và sử dụng Zoom Meeting trên máy tính – LH Hỗ trợ mua tài khoản Zoom: 0919198610
Tin HOT
Sẽ triển khai toàn dân khai báo y tế chậm nhất là ngày 10/03
Máy Tính
Máy tính bảng hơn 4 triệu mà có thể làm việc như một chiếc laptop – ThinkPad 10
  • thanks a lot very usefull. Got i thanks to you


  • Literally done everything and confirmed, and still nothing wtf


  • thanks for the vid but having problems, did everything you said, found pip under C:Users"username"AppDataLocalProgramsPythonPython38Scriptspip and put this in the path edit, but when i execute pip in cmd it gives error Traceback (most recent call last):

    File "<stdin>", line 1, in <module>

    NameError: name 'pip' is not defined


  • " 'pip' is not recognized as an internal or external command,

    operable program or batch file. " same error as before i did it idk why

    I checked to make sure that there is a pip.exe and i still dont get why it isnt working


  • that pip.exe file isn't there!!! what do i do now?? pls help me!!!!!!!!!


  • Спасибо!!! Все оказалось так просто! Thank you, very much!


  • Thank You – finally it works.


  • BlueBlue

    Author Reply

    my pip file is a bat file do i need to convert it to exe?


  • so fast


  • PyCharm is great, but I greatly prefer the simplistic version part of the pip usage.


  • quick and effective tutourial.


  • YEE YEE


  • Good but you are doing it too fast, slow down pls


  • HEY FELLAS if you're trying to do this on Windows 7 like me and having trouble here's why:
    There's no option to "add a new" option to a system variable on win 7. You're just creating a new system variable instead of adding an option to the "PATH" system variable. Makes no sense? That's okay my explanation was trash but here's how you make pip work on windows 7.

    Follow the instructions normally until you get to the part where you're editing PATH. Add a semicolon (;) at the very end of the text then paste your directory. That's all.


  • i did all the steps correctly but it said 'pip' is not recognized as an internal or external command,

    operable program or batch file.
    and i also had pip.exe in directory file help me please
    and when i try "python -m pip" nothing happens

    edit: wait it worked nvm


  • OMG ty so much.
    I tried to this for a while by now. nothing worked
    and i try this
    WORKS
    TY sm


  • When I tips print (is.path.dirname(aus.executable) = ‘Scripts\’) Says the the Programm SyntaxError: keyword can’t be an expression


  • I did the exact same thing but I got

    C:UsersYonatAppDataLocalProgramsPythonPython37-32Scripts
    I also couldn't see pip, I saw easy_install-3.7 and easy_install

    help would be appreciated :0


  • Hi. After following your steps, when i run "pip" it says :

    Fatal error in launcher: Unable to create process using '"'


  • I cant see the letter it is too shinny


  • uhh i dont understand the bit at 0:37, how does that work????


  • What about mac? How do I access the PATH on mac?


  • Note to retards like me : Make sure to press OK while closing tabs


  • thnx bro very profecional 😉


  • Ummm.. i couldn't read it… can u write the code in a reply..


  • thank you very much


  • I was having an issue where even adding the string to the enviroment variable CMD wan't able to find pip.
    What I had to do was change the drive from C: to G: (where I had it installed) and CD to the scripts folder.

    Thanks for the video though. 😀


  • I installed pip, cmd detect it but IDLE python don't detect it. I tried to uninstall and reinstall pip many times with the exact procedure but nothing works. help plz


  • New to python and cannot get pas 0:30 if anyone can help me thx


  • please help i just started useing python and i dont have the pip.exe file can you help me also cmd gives me this error

    'pip' is not recognized as an internal or external command,

    operable program or batch file.


  • After doing all the steps cmd give me this error:
    Fatal error in launcher: Unable to create process using '"'


  • No pip file in my scripts folder, any idea where to get it from ?