今天运行python程序的时候,提示:
Traceback (most recent call last):
File "F:\python\index.py", line 8, in
reload(sys)
NameError: name 'reload' is not defined
解决方法:
遇到这个问题,对于 Python 2.X:
import sys
reloa
今天运行
python3 manage.py runserver
报错这个:
You have 17 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'py
首先下载安装包,地址http://phantomjs.org/download.html
cd /usr/local
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
解压
tar xvf phantomjs-2.1.1-linux-x86_64.tar.bz