Open dridk opened 9 years ago
Same exact issue here, also using 3.4
Works for me. Here's what I did:
virtualenv -p python3 venv
source venv/bin/activate
pip install Flask-Autodoc
python -c "from flask.ext.autodoc import Autodoc"
Here's how to check whether you installed a python2 package instead of a python3 package:
$ pip --version
pip 1.5.4 from /.../venv/lib/python3.4/site-packages (python 3.4)
$ pip list | grep -i flask
Flask (0.10.1)
Flask-Autodoc (0.1.2)
Just to chime in - This seems broken in Python 3.4 for me as well.
Anyone have a fix?
This seems like a great tool - any way of getting it repaired and added to the 'approved' flask registry? http://flask.pocoo.org/extensions/
I faced with this problem too.
This pull request should fix this problem: https://github.com/acoomans/flask-autodoc/pull/25
Or you can manually replace line
--- from flask_autodoc.autodoc import Autodoc +++ from .autodoc import Autodoc
in flask_autodoc.init.py
Same problem here. Further: no update on this issue for years. :(
I installed Flask-Autodoc (0.1.1) like all my packages using : pip install flask-autodoc and python3
When I tried to import Flask-Autodoc , I get this following error :