fix pip install. fix http template