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

Pubblicato il: 22 febbraio 2021
sul canale di: 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  


In questa pagina del sito puoi guardare il video online 2021 How to Install a Package in Python | Beginner Python Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Phil Parisi 22 febbraio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,250 volte e gli è piaciuto 6 spettatori. Buona visione!