AWS:pip install返回" IOError:[Errno 28]设备上没有剩余空间"什么时候有空间

时间:2016-10-20 15:07:33

标签: python amazon-web-services

我正在尝试在AWS实例上安装tensorflow但我收到错误:

>>sudo pip install --upgrade $TF_BINARY_URL
Downloading/unpacking https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc0-cp27-none-linux_x86_64.whl
  Downloading tensorflow-0.11.0rc0-cp27-none-linux_x86_64.whl (123.4MB): 4.1kB downloaded
Cleaning up...
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1198, in prepare_files
    do_download,
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1376, in unpack_url
    self.session,
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 572, in unpack_http_url
    download_hash = _download_url(resp, link, temp_location)
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 442, in _download_url
    fp.write(chunk)
IOError: [Errno 28] No space left on device

Storing debug log for failure in /home/ubuntu/.pip/pip.log

我有空间:

>> df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            7.4G   12K  7.4G   1% /dev
tmpfs           1.5G  784K  1.5G   1% /run
/dev/xvda1      197G  8.0G  181G   5% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            5.0M     0  5.0M   0% /run/lock
none            7.4G     0  7.4G   0% /run/shm
none            100M     0  100M   0% /run/user
/dev/xvdb        64G   52M   61G   1% /mnt
overflow        1.0M 1020K  4.0K 100% /tmp

0 个答案:

没有答案