Market-basket: calculating support/confidence/lift/rules
I've done this (using anaconda) with the following libraries. 

from mlxtend.frequent_patterns import apriori
from mlxtend.frequent_patterns import association_rules


Have a look here.