· Hakan Çelik · Python · 1 dk okuma

Libraries, Modules, and Packages

pip is a package manager for Python.

Libraries, Modules, and Packages

What Is pip?

pip is a package manager for Python.

Installing pip on Linux

$ sudo apt-get install python3.8-pip

Installing pip on Windows

Create a Python file named get_pip.py on your Desktop.

Note: If your file extensions are not visible, type “folder” in the Windows search bar, then in the window that appears uncheck the option Hide extensions for known file types (it’s usually the second item in the list) and save.

Then click this link https://bootstrap.pypa.io/get-pip.py, copy the code that appears into the get_pip.py file you created, save and close it, and open a shell command line (or cmd) by doing shift + (right-click) on the Desktop.

Typing python get_pip.py will complete the pip installation.

Share:
Back to Blog

Related Posts

View All Posts »
Understanding Python Classes

Understanding Python Classes

Python · 2 dk

In Python, everything is an object and every object has a type — including primitives, functions, and classes themselves. type() and __class__ reveal this relationship.

Run Methods Order In Python

Run Methods Order In Python

Python · 2 dk

Which method runs when in Python metaclasses? The execution order of __prepare__, __new__, __init__, and __call__ during class definition and instance creation.