Ensure Python libraries are installed