sranjeeth commented on issue #19986:
URL: https://github.com/apache/superset/issues/19986#issuecomment-1214272164

   hi, installing python 3.10 is not working so we have to downgrade python 3.9 
and install it.
   
   sudo add-apt-repository ppa:deadsnakes/ppa
   sudo apt install python3.9
   python3.9 --version
   python3.9 -m venv venv
   sudo apt-get install python3.9-venv
   python3.9 -m venv venv
   . venv/bin/activate
   pip install apache-superset
   sudo apt-get install build-essential libssl-dev libffi-dev python3.9-dev  
libsasl2-dev libldap2-dev
   pip install apache-superset
   superset db upgrade
   #<if result = error then run below command>
        export FLASK_APP=superset 
        sudo apt install redis-server
        pip uninstall -y Werkzeug
        pip install Werkzeug==2.0.3
        superset db upgrade
        superset --version
        pip uninstall flask
        pip install flask==2.1.3
        superset db upgrade
        superset fab create-admin
        superset init 
        pip install pillow
        superset init
        superset run -p 8088 --with-threads --reload --debugger
   #<else >
          export FLASK_APP=superset 
           superset fab create-admin
        superset init 
           superset run -p 8088 --with-threads --reload --debugger


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to