astconfman icon indicating copy to clipboard operation
astconfman copied to clipboard

manage.py doesn't resolve a dependency although it's installed.

Open superjeb opened this issue 6 years ago • 3 comments

astconfman]# ./manage.py init Traceback (most recent call last): File "./manage.py", line 4, in <module> from flask.ext.babelex import gettext

`pip2.7 list Package Version


alembic 0.9.9
Babel 2.6.0
blinker 1.4
click 6.7
dominate 2.3.1
Flask 1.0.2
Flask-Admin 1.3.0
Flask-BabelEx 0.9.3
Flask-Bootstrap 3.3.7.1 Flask-Login 0.4.1
Flask-Mail 0.9.1
Flask-Migrate 2.2.1
Flask-Principal 0.4.0
Flask-Script 2.0.6
Flask-Security 3.0.0
Flask-SQLAlchemy 2.3.2 `

superjeb avatar Jun 25 '18 20:06 superjeb

Did anybody solve it? I have the same issue. Checked everything with paths in virtualenv, all looks OK.

eizaretskiy avatar Jun 27 '18 12:06 eizaretskiy

I fixed it replacing .ext. with _ in all the .py files in the directory, and there were like one or two in views as well. System runs after that. If i get time someday i might send a pr

gk1 avatar Sep 06 '18 07:09 gk1

PR would be nice, thanks.

litnimax avatar Sep 06 '18 08:09 litnimax