SoFunction
Updated on 2024-10-29

Installing the flask-mongoengine library for Python 3.5 on Win systems

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 occurs:

Copy Code The code is as follows.
flask-mongoengine-0.8.2\", line 10, in <module>
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in position 3978: illegal multibyte sequence

The error line is defined as the line in the

doc_path = ((__file__), "docs", "")
long_description = open(doc_path).read()

It was an error reading the doc_path file, docs/, which is a help file.

Be brutal and remove the contents. download the flask-mongoengine source package on github.

Run the following command to install it:

python install