Was unable to import superset Error: cannot import name 'quoted_name'


Error 1: Was unable to import superset Error: cannot import name 'quoted_name'

When I tried to create an administrator account I got this error: Was unable to import superset Error: cannot import name 'quoted_name'

fabmanager create-admin --app superset

You can run the following command:

wget raw.githubusercontent.com/apache/incubator-superset/master/requirements.txt

pip install -r requirements.txt

Error 2: OSError: [Errno 48] Address already in use

When I tried to start a development web server on port 8088 I got this error: OSError: [Errno 48] Address already in use

superset runserver -d

You can kill the processes using the port by the following command or change to another port.
Show the list of processes using the port:

 sudo lsof -i:5000

Use the id on the PID column to terminate the process:

 kill 379 #use the provided PID

Note:

  • python 3.6
  • macOS
  • 2019.1.14


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM