如何在网络驱动器上安装 conda?

时间:2021-04-30 12:10:56

标签: linux networking anaconda conda package-management

为了避免 512gb 本地驱动器上的空间不足,我的团队希望将 conda 及其所有包移动到我们的一个网络驱动器 (cifs) 上。我尝试了标准安装 sudo bash Miniconda3-py39_4.9.2-Linux-x86_64.sh

但是,我明白了

Could not remove or rename /media/path/to/miniconda3/pkgs/openssl-1.1.1i-h27cfd23_0gri1_w7m/pkg-openssl-1.1.1i-h27cfd23_0.tar.zst.  Please remove this file manually (you may need to reboot to free file handles)
concurrent.futures.process._RemoteTraceback:                                                        
'''
Traceback (most recent call last):
  File "concurrent/futures/process.py", line 368, 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 484, in _chain_from_iterable_of_lists
  File "concurrent/futures/_base.py", line 611, in result_iterator
  File "concurrent/futures/_base.py", line 439, in result
  File "concurrent/futures/_base.py", line 388, in __get_result
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
[21483] Failed to execute script entry_point

我尝试删除 /media/path/to/miniconda3/pkgs/openssl-1.1.1i-h27cfd23_0gri1_w7m/pkg-openssl-1.1.1i-h27cfd23_0.tar.zst,但由于目录为空,我删除了 /media/path/to/miniconda3/pkgs/openssl-1.1.1i-h27cfd23_0gri1_w7m。我再次尝试使用 sudo bash Miniconda3-py39_4.9.2-Linux-x86_64.sh -u 进行安装,但出现以下错误。

concurrent.futures.process._RemoteTraceback:                                                        
'''
Traceback (most recent call last):
  File "concurrent/futures/process.py", line 368, 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 484, in _chain_from_iterable_of_lists
  File "concurrent/futures/_base.py", line 611, in result_iterator
  File "concurrent/futures/_base.py", line 439, in result
  File "concurrent/futures/_base.py", line 388, in __get_result
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
[22748] Failed to execute script entry_point

非常感谢有关如何执行此操作的任何帮助/如果可能的话。

0 个答案:

没有答案