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.

Share:
930

Related videos on Youtube

Marco Oliveira
Author by

Marco Oliveira

Updated on September 18, 2022

Comments

  • Marco Oliveira
    Marco Oliveira over 1 year

    Folders in app

    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
      Rik over 10 years
      Are 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
      Rik over 10 years
      We don't have enough of your output of yum. What package does it say is going to be installed. The .x86_64 or the i686 version ? I think there is some mixing of 32bit and 64bit going on here. Please give the complete output of yum install openssl-devel.
    • Constantine Westerink
      Constantine Westerink about 3 years
      what do you want to do with the imported routes.
    • Marco Oliveira
      Marco Oliveira about 3 years
      No 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
      noslenkwah about 3 years
      You 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
    Timur over 10 years
    Got the same error on yum update
  • Marco Oliveira
    Marco Oliveira about 3 years
    Hey, 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