Make sure that pyirc can be installed using pip. /!\ breaking change, you need to import it as pyirc.irc now
pyirc.irc