Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in App.py flask call #1

Open
StevenNexus opened this issue Sep 19, 2018 · 5 comments
Open

Error in App.py flask call #1

StevenNexus opened this issue Sep 19, 2018 · 5 comments

Comments

@StevenNexus
Copy link

Change

from flask.ext.mysql import MySQL

to

from flaskext.mysql import MySQL

@roman0mx
Copy link

Hi.

We choose the Docker option to the lab.

But in this option appear one error at time of:

pip install flask

The error its cause for unset LOCALE env's

To fix this error we just add an:

sudo apt-get install language-pack-XXX

(in our case is sudo apt-get install language-pack-en)

And with this add, the rest of your instruccion work very well

Best regards

@rajaniesh
Copy link

These steps does not work when I executed the steps provided in the udemy course and my application is not browsing

@adeel2020
Copy link

Please try sample repository at https://github.com/openshift/django-ex.git

@rajaniesh
Copy link

Can you explain step by step what do we need to do?

@adeel2020
Copy link

adeel2020 commented Jun 1, 2021

please note that updated repository for this application with flask module is at https://github.com/mmumshad/simple-webapp-flask.git. you just need to clone this. if you are using Openshift, Select your project and browse catalog. Click Next and Give the project name and copy this link in Git Repository Field.
Screen Shot 2021-06-01 at 6 46 14 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants