Alex Alex - 1 year ago 286
Python Question

ImportError: cannot import name patterns

Python Version:2.7.5
django Version:1.10

when i type nohup python runserver
show me enter image description here

i have googled someone tell me to vi,but it doesn't work ,Another error occurred shows that "cannot import name default"

help me,ths!

Answer Source

Use of patterns is deprecated since django 1.8. See docs. You can use plain lists now.