litnimax / astconfman

Asterisk ConfBridge Manager
GNU Lesser General Public License v3.0
45 stars 36 forks source link

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

Open superjeb opened 6 years ago

superjeb commented 6 years ago

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 `

eizaretskiy commented 6 years ago

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

gk1 commented 6 years ago

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

litnimax commented 6 years ago

PR would be nice, thanks.