python 问题
iejtyq
这个作者很懒,什么都没留下…
展开
-
安装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 · 590 阅读 · 0 评论 -
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 · 264 阅读 · 0 评论 -
编编安装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 · 1028 阅读 · 0 评论 -
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 · 538 阅读 · 0 评论 -
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 · 4526 阅读 · 0 评论