Home > Backend Development > Python Tutorial > Detailed explanation of the steps to install flask-mongoengine library for Python3.5 under win system

Detailed explanation of the steps to install flask-mongoengine library for Python3.5 under win system

高洛峰
Release: 2017-03-24 17:22:15
Original
1776 people have browsed it

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
Copy after login


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
Copy after login


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()
Copy after login


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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template