Error Installing Flask-FlatPages w/ Python 3: UnicodeDecodeError -
i tried install flask-flatpages pip3 install flask-flatpages.
this output:
downloading/unpacking flask-flatpages downloading flask-flatpages-0.5.tar.gz running setup.py (path:/var/www/app/venv/build/flask-flatpages/setup.py) egg_info bundle flask-flatpages traceback (most recent phone call last): file "<string>", line 17, in <module> file "/var/www/app/venv/build/flask-flatpages/setup.py", line 10, in <module> init_py = open(os.path.join(root, 'flask_flatpages', '__init__.py')).read() file "/var/www/app/venv/lib/python3.4/encodings/ascii.py", line 26, in decode homecoming codecs.ascii_decode(input, self.errors)[0] unicodedecodeerror: 'ascii' codec can't decode byte 0xe2 in position 164: ordinal not in range(128) finish output command python setup.py egg_info: traceback (most recent phone call last): file "<string>", line 17, in <module> file "/var/www/app/venv/build/flask-flatpages/setup.py", line 10, in <module> init_py = open(os.path.join(root, 'flask_flatpages', '__init__.py')).read() file "/var/www/app/venv/lib/python3.4/encodings/ascii.py", line 26, in decode homecoming codecs.ascii_decode(input, self.errors)[0] unicodedecodeerror: 'ascii' codec can't decode byte 0xe2 in position 164: ordinal not in range(128) ---------------------------------------- cleaning up... command python setup.py egg_info failed error code 1 in /var/www/app/venv/build/flask-flatpages storing debug log failure in /root/.pip/pip.log from looks of it, guess it's not python 3.x compatible?
is there i'm missing?
are there alternatives? i'm trying parse directory of .md files described here.
python flask flask-flatpages
No comments:
Post a Comment