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