农历,中国农历历法项目,无需数据库环境,以《钦定协纪辨方书》为核心的python3 农历、黄历、二十四节气、节假日、星次、每日凶煞、每日值神、农历建除十二神、农历每日宜忌、彭祖百忌、每日五行、二十八星宿、天干地支、农历生辰八字、时辰凶吉等开源项目。
GNU General Public License v3.0
438
stars
126
forks
source link
v0.09 install problem fixed #23
Closed
mickey3721 closed 1 year ago
problem during installation:
File "", line 9, in
UnicodeDecodeError: 'gbk' codec can't decode byte 0xb4 in position 89: illegal multibyte sequence
fix setup.py by adding code: encoding='utf-8' in 'long_description=' as below:
from setuptools import setup setup( name='cnlunar', version='0.0.9', packages=['cnlunar'], url='https://github.com/OPN48/cnLunar', author='cuba3', authoremail='cuba3@163.com', long_description=open('README.rst',encoding='utf-8').read(),_ )