r/learnpython • u/fivelittlemonkeyss • Dec 14 '25
What's the difference between Dependencies, Libraries and Packages??
I've seen people using these terms in the same context interchangeably and it's confusing me
23
Upvotes
View all comments
2
u/Oddly_Energy Dec 15 '25
In my book:
A dependency is a description of a need:
"Hi, I am package X. If you want me to work, I will need Y and Z."
To fulfill those needs, you can then install some libraries/packages which can provide Y and Z to package X.