2021 How to Install a Package in Python | Beginner Python Tutorial

Publicado em: 22 Fevereiro 2021
no canal de: Phil Parisi
1,250
6

Beginner tutorial to Install Packages in Python! Only a fresh install of Python is needed. To install a package, run 'pip3 install package_name' on the command line or terminal.

If you are using a VIRTUAL ENVIRONMENT or PYCHARM, watch this:    • How to Install Packages in PyCharm | Pytho...  
If you are still getting the 'no module named package' error, watch this:    • How to Fix "No Module Named..." Error in P...  
If you need to install Python, watch this:    • How to Install Python and PyCharm IDE | Py...  

*************************
WIN10 Users
1. Open cmd (command line), type: pip3 install package_name
replace "package_name" with your package, such as 'pandas', 'matplotlib', 'discord', etc.
2. Then, import the package
A. Open IDLE, type: import package_name
OR
B. Open cmd, type: python, type: import package_name
3. Then, use a function from the package in your script. Type: package_name.function_name

LINUX Users
See above WIN10, use terminal instead of cmd
*************************


More Python Videos!
Install Python and PyCharm IDE:    • How to Install Python and PyCharm IDE | Py...  
Python Coding Series:    • Beginner Guide to Python -- Series Intro |...  
Python Macros Tutorial:    • How to Make a Macro in Python with Keystro...  
Lists in Python:    • Video  
Variables in Python:    • Video  
While Loops in Python:    • How to Write a While Loop in Python | Pyth...  


If you're feeling froggy -- like and subscribe to support this channel :)
Comment below and I will help you out! Support me on Patreon!   / philsbeginnercode  


Nesta página do site você pode assistir ao vídeo on-line 2021 How to Install a Package in Python | Beginner Python Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Phil Parisi 22 Fevereiro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,250 vezes e gostou 6 espectadores. Boa visualização!