5

细节:

操作系统:Ubuntu 12.04 LTS 服务器

虚拟机:VirtualBox 4.1.18

使用虚拟环境

virtualenv在dir中创建,与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

为什么会这样?怎么修?蒂亚!

更新

我发现了问题 - 问题是虚拟环境是在共享到 win7 文件夹中创建的。当我在非共享文件夹中执行此操作时 - 没有错误。

4

0 回答 0