原文:安装LunarSolarConverter第三方库提示:ERROR: Command errored out with exit status 1: python setup.py egg_info Check th e logs for full command output.

在安装LunarSolarConverter第三方库时提示: 根据提示信息,应该是文件读取中涉及到了中文。下载了LunarSolarConverter . . .tar.gz到本地并解压,查看其中的setup.py文件,其中 , 行: 问题应该出在了 行open这个函数,作者应该在其后增加encoding UTF ,确保数据读取无误。 既然定位到了问题,就赶紧修改验证下吧。 修改后的代码: 因为修 ...

2020-02-16 22:48 0 1513 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM