pip install magic