簡體   English   中英

無法在 ubuntu 服務器 18.04 aws 上安裝 tensorflow

[英]Can not install tensorflow on ubuntu server 18.04 aws

當我 pip 安裝 tensorflow 時它被殺死了

root@cryptofeed:~# pip3 install tensorflow

收集 tensorflow 下載 tensorflow-2.4.0-cp38-cp38-manylinux2010x8664.whl (394.8 MB) |██████████████████████████████ ███| 394.7 MB 24.4 MB/s 等 0:00:01Killed

根@cryptofeed:~#

我已經嘗試過所有版本的 Tensorflow

由於缺乏RAM,我也遇到過這個問題。 您可以嘗試增加交換空間。 試試這里提到的方法。

“Killed”通常意味着一個進程被殺死,因為它使用的 memory 比您的系統提供的要多。

檢查您是否啟用了交換。

你的dmesg的 output 是什么?

你有多少memory?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM