Linux安装Python-MySQL 遇到(set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
来源:互联网 发布:arttemplate 写js语法 编辑:程序博客网 时间:2024/05/21 17:15
Linux安装Python-MySQL ,运行时,有如下warning出现:
/usr/local/lib/python2.7/site-packages/setuptools-12.4-py2.7.egg/pkg_resources/__init__.py:1224: UserWarning: /home/zxx/.
python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename.
Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
解决办法:
进入你Python代码所在的目录,例如,我的Python代码在 /home/zhang 下
cd /home/zhangchmod g-wx,o-wx .python-eggs/
就是给个权限
0 0
- Linux安装Python-MySQL 遇到(set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
- linux set http proxy environment variable
- 解决Linux下启动Tomcat遇到Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- linux下搭建nexus提示then set the environment variable RUN_AS_USER=root
- [VB.NET]Object variable or With block variable not set
- ErrorList:Object variable or With block variable not set error
- maven 配置(安装)以及遇到的The JAVA_HOME environment variable is not defined correctly.
- The JRE_HOME OR JAVA_HOME environment variable is not defined correct
- linux安装tomcat Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- linux安装tomcat Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- linux安装tomcat Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- Eclipse"Warning: The environment variable HOME is not set."
- Configure the environment variable
- The CATALINA_HOME environment variable
- The http_proxy Environment Variable
- linux下操作报: environment variable DISPLAY is not set
- reading environment variable python
- DISPLAY environment variable not set!
- SQL的鸡肋:“视图”
- Python字符串编码
- Java中public,protected,private的区别
- nodejs 创建csv并下载
- C# new的作用
- Linux安装Python-MySQL 遇到(set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
- Struts2访问web元素(包括:request,session,application)的4种方法
- Java仿百度文库在线阅览功能
- flex将一段时间内的月份放在集合中
- JAVA 开发平台的技术和框架(一)Web前端
- Android中设置控件可见与不可见详解
- bzoj2324: [ZJOI2011]营救皮卡丘 费用流
- auto static register
- 多线程之生产者与消费者问题