pip install pypinyin python import pypinyin python print(pinyin_text) python print(pinyin_text) python print(pinyin_text)