3 ms·
TL;DR; here are the contents: What’s the Difference Between a Python Package and a Module? How do I use the Import Statement in Python? Understanding ModuleNo
by JohnLockwood 5y ago
TL;DR; here are the contents:
What’s the Difference Between a Python Package and a Module?
How do I use the Import Statement in Python?
Understanding ModuleNotFoundError
How to Install Python Packages
Making Sure Your Pip Version Is Correct
How to Install Packages (The Right Way)
1. Creating the Virtual Environment:
2. Activating the Virtual Environment:
3. Using the Virtual Environment:
4. Deactivating the Virtual Environment:
Dependency Hell — Why We Set Up Virtual Environments
How Python Finds Packages
Changing the Python Path and Controlling Where Pip Installs Packages (Case Study)
How Do I Publish a Package in Python?
Final Thoughts and Source Code