- 博客(9)
- 资源 (1)
- 收藏
- 关注
转载 django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE的解决办法
在Python的开发中,遇到了这个错误:django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO
2017-04-27 11:11:54
4521
转载 django报错:django.core.exceptions.ImproperlyConfigured: 处理办法
django报错:Eclipse pydev 运行不出错,cmd 命令行界面中Python 运行出错:django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either define the environme
2017-04-27 11:00:01
535
转载 Django URL传递参数的方法总结
1 无参数情况配置URL及其视图如下:1234(r'^hello/$', hello) def hello(request): return HttpResponse("Hello World")访问http://127.0.0.1:8000/hello,输出结果为“Hello World”2 传递一个参数 配
2017-04-21 15:32:41
284
转载 Django URL传递参数的方法总结
1 无参数情况配置URL及其视图如下:1234(r'^hello/$', hello) def hello(request): return HttpResponse("Hello World")访问http://127.0.0.1:8000/hello,输出结果为“Hello World”2 传递一个参数 配
2017-04-21 15:32:19
79
转载 编编安装python时出现can't decompress data; zlib not available错误
解决方法:1、安装依赖zlib、zlib-devel2、重新编译安装python./configure 编辑Modules/Setup文件 找到下面这句,去掉注释 #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz 重新编译安装:make & make install
2017-03-21 10:03:02
1019
转载 python 环境搭建-Linux 系统下python2.6.6升级python3.5.2步骤
[root@template ~]# python -v# /usr/lib64/python2.6/encodings/utf_8.pyc matches /usr/lib64/python2.6/encodings/utf_8.pyimport encodings.utf_8 # precompiled from /usr/lib64/python2.6/encodings/utf_8.p
2017-03-21 09:51:43
293
转载 windows下使用pip安装python模块时报错总结
前言: 这几天把python版本升级后,发现pip安装模块好多都报错(暂不确定是不是因为升级导致的),我定睛一看,发现是权限的问题,那么怎么解决呢?1 权限问题C:\Users\ljf>pip install xlwtException:Traceback (most recent call last): File "c:\program files\python
2017-03-20 16:11:19
261
原创 安装python 时出现no acceptable C compiler found in $PATH问题
今天在linux虚拟机上安装python3.6.0版本出现以下错误,错误如下,[root@abc Python-3.6.0]#./configure --prefix=/usr/local/python-3.6.0******checking for gcc... nochecking for cc... nochecking for cc... nochecking for cl... n
2017-03-20 15:55:35
586
转载 安装python 时出现no acceptable C compiler found in $PATH问题
今天在linux虚拟机上安装python3.6.0版本出现以下错误,错误如下,[root@abc Python-3.6.0]#./configure --prefix=/usr/local/python-3.6.0******checking for gcc... nochecking for cc... nochecking for cc... nocheck
2017-03-20 15:49:13
735
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人