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 2022/08/14 02:39:11 UTC

[GitHub] [superset] sranjeeth commented on issue #19986: Fails to install on Python 3.10 because of Numpy dependency

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: 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