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 2019/12/17 06:24:26 UTC

[GitHub] [incubator-superset] drnancy edited a comment on issue #8756: Cannot upgrade database

drnancy edited a comment on issue #8756: Cannot upgrade database
URL: https://github.com/apache/incubator-superset/issues/8756#issuecomment-566396726
 
 
   Create seperate virtual environmnet instead of using "pip install apache-superset --upgrade" follow this step you can see in step8 where superst db gets upgrade without any error like "existing database"
   
   Step1: Install - "pip install virtualenv"
   
   Step2: Create VM- "py -m venv your_env_name" or "python -m venv your_env_name" or just create environment using conda
   
   Step3: Activate -"your_env_name\Scripts\activate"
   
   Step4: Downlaod- python-geohash wheel with compitable version from the link:https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-geohash
   
   Step5: Install the python-geohash library "pip install python-geohash directory"
   
   step6: anaconda prompt -"pip install superset"
   
   step7: # Create an admin user (you will be prompted to set username, first and last name before setting a password) by typing this- "fabmanager create-admin --app superset"
   
   step8: type -"cd your_env_name/Scripts"
   
   Step9: python superset db upgrade
   
    
   ![image](https://user-images.githubusercontent.com/58162442/70969496-cab72a80-20c1-11ea-816b-daf18443d313.png)
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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