今天在windows电脑上安装django-export-xls的时候报错了:
(venv) PS F:\Pycharm_Projects\Ruoyi-Energy> pip3 install django-export-xls
Collecting django-export-xls
Using cached django-export-xls-0.1.1.tar.gz (3.2 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
obaby\AppData\Local\Temp\pip-pip-egg-info-u0lvqod1'
cwd: C:\Users\obaby\AppData\Local\Temp\pip-install-xrhra6sx\django-export-xls_d72b66d322264c26b516fda785f307fd\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\obaby\AppData\Local\Temp\pip-install-xrhra6sx\django-export-xls_d72b66d322264c26b516fda785f307fd\setup.py", line 4, in <module>
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 918: illegal multibyte sequence
----------------------------------------