UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in position"/> UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in position">
Home > Article > Backend Development > Detailed explanation of the steps to install flask-mongoengine library for Python3.5 under win system
Environment: windows 10, python 3.5, flask-mongoengine 0.8.2 or 0.9.0
Use the following command to install flask-mongoengine
pip install flask-mongoengine
The following error will appear:
flask-mongoengine-0.8.2\setup.py", line 10, in <module> UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in position 3978: illegal multibyte sequence
is determined to be the error line in setup.py:
doc_path = os.path.join(os.path.dirname(__file__), "docs", "index.rst") long_description = open(doc_path).read()
is an error when reading the doc_path file. This file is docs/index.rst, which is a help document .
Be rough and delete the content. Download the flask-mongoengine source code package from github.
Run the following command to install:
python setup.py install
The above is the detailed content of Detailed explanation of the steps to install flask-mongoengine library for Python3.5 under win system. For more information, please follow other related articles on the PHP Chinese website!