Are you running HA as a Core installation (running directly in a Python environment)?
You had better read this thread if so: