Installing openssl on RHEL 6.2
930
Have you tried making sure you have up to date information in your RPM databases? Something along the lines yum clean all && yum update
might be in order at this point.
Related videos on Youtube
Author by
Marco Oliveira
Updated on September 18, 2022Comments
-
Marco Oliveira over 1 year
In the shared image are the folders that I have to build my app, I'm trying to do a login system but I can't access to /user/signup that I have in my routes.py
There are my files content:
web_app.py
from flask import Flask, render_template, request, redirect app = Flask(__name__) from user import routes @app.route('/') def home(): return render_template('index.html')
routes.py
from flask import Flask from web_app import app #from the app module import app(web_app.py main) from user.models import User @app.route('/user/signup', methods=['GET']) def signup(): return User().signup()
models.py
from flask import Flask, jsonify class User: def signup(self): user = { "_id": "", "name": "", "email": "", "password": "" } return jsonify(user), 200
I think I don't need nothing in init.py am I right?
-
Rik over 10 yearsAre you mixing 32bit and 64bit? What error do you get if you try to uninstall
glibc-common-2.12-1.47.el6.x86_64
manually? -
Rik over 10 yearsWe don't have enough of your output of yum. What package does it say is going to be installed. The
.x86_64
or thei686
version ? I think there is some mixing of 32bit and 64bit going on here. Please give the complete output ofyum install openssl-devel
. -
Constantine Westerink about 3 yearswhat do you want to do with the imported routes.
-
Marco Oliveira about 3 yearsNo matter what I want to do and what I put on it I can't go to that route imagine route @app.route('/asd') def asdasd(): return 'hey' I can't go to localhost:5000/asd
-
noslenkwah about 3 yearsYou need to show more of your app (maybe adding your file structure would help). From what you posted you have a circular import which means you would never get this code to run. Since you are obviously getting your code to run, something is happening where
routes.py
never gets imported. And that isn't immediately apparent with what you've shown us thus far.
-
-
Timur over 10 yearsGot the same error on
yum update
-
Marco Oliveira about 3 yearsHey, I don't need to have because I'm not even trying to render a template for user/signup right now. If I put something like return "hello" that doesn't need a template it still going 404