Reputation: 837
I learning python, and I keep finding new modules that I want to play with but aren't installed by default. Since I'm using Ubuntu, I know that all I need to do is to run apt-get with the correct package name.
The question is how do I find out what the apt package name is for a particular module? Is there an easy way to look it up?
Right now I am looking for the package for the "ipaddress" module.
ImportError: No module name ipaddress
Upvotes: 0
Views: 851
Reputation: 34357
apt-cache search ipaddress | grep python
Is a good place to start. Many modules are called "name-python"
Upvotes: 2