| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1535 人关注过本帖
标题:求助运行python程序出错了,ExtractionError: Can't extract file(s) to eg ...
只看楼主 加入收藏
hcdn2010
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2010-11-1
收藏
 问题点数:0 回复次数:1 
求助运行python程序出错了,ExtractionError: Can't extract file(s) to egg cache
异常如下

...............
File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 881, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 1351, in get_resource_filename
    self._extract_resource(manager, self._eager_to_zip(name))

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 1372, in _extract_resource
    real_path = manager.get_cache_path(

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 962, in get_cache_path
    self.extraction_error()

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 928, in extraction_error
    raise err

ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python egg
cache:

  [Errno 13] Permission denied: '/root/.python-eggs'

The Python egg cache directory is currently set to:

  /root/.python-eggs

Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.



去百度上google了一些资料,看了一下,基本就是修改权限,设置环境变量等等的 ,试验了一下都失败了,请各位朋友帮忙了,小弟先谢过咯
搜索更多相关主题的帖子: python extract egg cache Can 
2010-11-01 23:49
hcdn2010
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2010-11-1
收藏
得分:0 
在线等。。。。。。
2010-11-01 23:51
快速回复:求助运行python程序出错了,ExtractionError: Can't extract file(s) ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.027930 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved