web-dev-qa-db-ja.com

Anacondaインストールスクリプトが失敗する/ VM / Ubuntu 16.04

  • OracleのVirtualBox6.xを使用してWindows10でホストされているUbuntu
  • 最新のAnacondaをダウンロード(Anaconda3-2019/10-Linux-x86_64.sh)
  • bash Anaconda3-2019/10-Linux-x86_64.shUnpackingのときにハングする
Do you accept the license terms? [yes|no]
[no] >>> yes

Anaconda3 will now be installed into this location:
/home/.../anaconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/home/.../anaconda3] >>> 
PREFIX=/home/.../anaconda3
Unpacking payload ...
  0%|                                                   | 0/291 [00:00<?, ?it/s]^CProcess ForkProcess-1:
Traceback (most recent call last):
  File "multiprocessing/process.py", line 297, in _bootstrap
  File "multiprocessing/process.py", line 99, in run
  File "concurrent/futures/process.py", line 233, in _process_worker
  File "multiprocessing/queues.py", line 94, in get
  File "multiprocessing/connection.py", line 216, in recv_bytes
  File "multiprocessing/connection.py", line 407, in _recv_bytes
  File "multiprocessing/connection.py", line 379, in _recv
KeyboardInterrupt
Traceback (most recent call last):
  File "entry_point.py", line 71, 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 430, in result
  File "threading.py", line 296, in wait
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "entry_point.py", line 73, in <module>
  File "site-packages/tqdm/_tqdm.py", line 960, in __exit__
  File "site-packages/tqdm/_tqdm.py", line 1147, in close
  File "site-packages/tqdm/_tqdm.py", line 511, in _decr_instances
  File "site-packages/tqdm/_monitor.py", line 53, in exit
  File "threading.py", line 1044, in join
  File "threading.py", line 1060, in _wait_for_tstate_lock
KeyboardInterrupt
[2755] Failed to execute script entry_point

Ubuntu18.xxと16.xxの両方のVMでこれを試しました。これをデバッグするにはどうすればよいですか?

1
user3533030

同様の問題がありました。私の場合、これはVMに割り当てられた仮想コアが1つしかないことに関連していました。

さらにいくつかのコアを有効にして、それが役立つかどうかを確認してください

1
bonez