linux安装anaconda报错

concurrent.futures.process._RemoteTraceback:                                        
'''
Traceback (most recent call last):
  File "concurrent/futures/process.py", line 367, in _queue_management_worker
  File "multiprocessing/connection.py", line 251, in recv
TypeError: __init__() missing 1 required positional argument: 'msg'
'''

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "entry_point.py", line 69, in <module>
  File "concurrent/futures/process.py", line 483, in _chain_from_iterable_of_lists
  File "concurrent/futures/_base.py", line 598, in result_iterator
  File "concurrent/futures/_base.py", line 435, in result
  File "concurrent/futures/_base.py", line 384, in __get_result
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
[1770] Failed to execute script entry_point

原因是虚拟机磁盘满了,使用lsblk命令查看磁盘分区,发现sda3分区没有完全用满使用

NAME                      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
fd0                         2:0    1  1.4M  0 disk
loop0                       7:0    0 63.3M  1 loop /snap/core20/1828
loop1                       7:1    0 91.9M  1 loop /snap/lxd/24061
loop2                       7:2    0 49.9M  1 loop /snap/snapd/18357
sda                         8:0    0   40G  0 disk
├─sda1                      8:1    0    1M  0 part
├─sda2                      8:2    0  1.8G  0 part /boot
└─sda3                      8:3    0 18.2G  0 part
  └─ubuntu--vg-ubuntu--lv 253:0    0   10G  0 lvm  /
sr0                        11:0    1 99.4M  0 rom
sr1                        11:1    1  1.4G  0 rom

使用以下命令让ubuntu--vg-ubuntu--lv占满sda3剩余空间

sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv

最后还要刷新一下磁盘分区

sudo resize2fs /dev/ubuntu-vg/ubuntu-lv
posted @ 2024-03-18 23:26  威斯布鲁童  阅读(525)  评论(0编辑  收藏  举报