在Ubuntu上安装Pillow时出错

时间:2013-04-04 06:48:42

标签: pip

详情:

操作系统:Ubuntu 12.04 LTS服务器

vm:VirtualBox 4.1.18

使用virtualenv

在dir中创建的virtualenv,与win7共享

错误

我执行pip install Pillow并收到此错误:

Downloading/unpacking Pillow
  Running setup.py egg_info for package Pillow

    warning: no previously-included files found matching '.hgignore'
    warning: no previously-included files found matching '.hgtags'
    warning: no previously-included files found matching 'BUILDME.bat'
    warning: no previously-included files found matching 'make-manifest.py'
    warning: no previously-included files found matching 'SHIP'
    warning: no previously-included files found matching 'SHIP.bat'
    warning: no files found matching '*.html' under directory 'docs'
    warning: no files found matching 'README' under directory 'docs'
    warning: no files found matching 'CHANGES' under directory 'docs'
    warning: no files found matching 'CONTENTS' under directory 'docs'
Installing collected packages: Pillow
  Running setup.py install for Pillow
    error: build/temp.linux-i686-2.7/multiarch: Text file busy
    Complete output from command /home/dizpers/data/www/goodread/bin/python -c "import setuptools;__file__='/home/dizpers/data/www/goodread/build/Pillow/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-ZvMEbN-record/install-record.txt --install-headers /home/dizpers/data/www/goodread/include/site/python2.7:
    running install

running build

running build_py

running build_ext

error: build/temp.linux-i686-2.7/multiarch: Text file busy

----------------------------------------
Command /home/dizpers/data/www/goodread/bin/python -c "import setuptools;__file__='/home/dizpers/data/www/goodread/build/Pillow/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-ZvMEbN-record/install-record.txt --install-headers /home/dizpers/data/www/goodread/include/site/python2.7 failed with error code 1 in /home/dizpers/data/www/goodread/build/Pillow
Storing complete log in /home/dizpers/.pip/pip.log

为什么会这样?怎么修? TIA!

更新

我找出了问题 - 问题是虚拟环境是在共享到win7文件夹中创建的。当我在非共享的时候进行 - 没有错误。

0 个答案:

没有答案