原文:安裝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