You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/09/07 10:44:23 UTC

[GitHub] [superset] AlvaroFFF commented on issue #15818: Installation Error on Clean Ubuntu 20.04 LTS

AlvaroFFF commented on issue #15818:
URL: https://github.com/apache/superset/issues/15818#issuecomment-914197538


   Hi @etr2460,
   
   Issue is still there. Let me try to provide more information about enviroment. These are the steps I've followed:
   
   Created a new machine on Google Cloud Platform, with following specifications:
   
   - Region: europe-west1 (Belgium)
   - Zone: europe-west1-b
   - Machine type: e2-standard-4 (4 vCPUs, 16GB memory)
   - Boot disk: Ubuntu 20.04 LTS, 50GB
   
   Once the instance is up, we start executing commands as mentioned [here](https://superset.apache.org/docs/installation/installing-superset-from-scratch)
   
   `
   sudo apt-get install build-essential libssl-dev libffi-dev python3-dev python3-pip libsasl2-dev libldap2-dev
   pip install virtualenv
   `
   
   After this command we go slightly "out of the guide" to install python venv:
   
   `sudo apt-get install python3.8-venv`
   
   And now we can create and activate our virtual enviroment and follow with the installation:
   
   `
   python3 -m venv venv
   . venv/bin/activate
   pip install apache-superset
   `
   
   At this point, some errors have appeared in the console while installing superset. Seems like most of them are related with flask version.
   
   Indeed, if we execute `superset --version` an exception is raised.
   
   I have tried to build a workaround that worked to me, consists basically on installing some flask versions manually:
   
   `
   pip install flask-wtf==0.14.2
   pip install flask==1.1.0
   pip install werkzeug==0.16.1
   `
   
   Once the ¿dependencies error? seems to be fixed we can continue:
   
   `
   superset db upgrade
   export FLASK_APP=superset
   superset fab create-admin
   superset init
   superset run -p 8088 --with-threads --reload --debugger
   `
   
   And it works successfully.
   
   I attach the history of commands hoping it could be useful.
   [history.txt](https://github.com/apache/superset/files/7120870/history.txt)
   
   Thank you,
   
   Alvaro
   
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org