Error with app Flask Babel Python3 (Windows)

2

I'm following the article's tutorial link

I came in part III and gave this error.

I'm confused because the author has run run.py inside the Script folder of virtualenv.

Being that it commands to create run.py in the root.

But I think the problem is not this, so I need help.

Followingthehelpof@sergiopereira(excludebabel)andreinstallingbygitHubisgivingthefollowingerror.

TogetthiserroryouneedGitintheWindowsenvironmentvariables. link

    
asked by anonymous 29.08.2015 / 02:22

1 answer

1

Actually the author has run run.py script, nothing on any Script folder.

Are you using Python 3 or 2? There is a bug in Babel with Python 3.

One of the suggestions is to uninstall Babel and install again via GitHub (or change your project to Python 2.7):

pip unistall babel
pip install git+https://github.com/mitsuhiko/[email protected]
    
31.08.2015 / 21:08