JT2*_*T28 4 pip scipy python-2.7 google-compute-engine google-cloud-platform
我是谷歌云的新手,我正在尝试在我的谷歌云实例上安装 scipy。
当我在 google cloud shell 上执行以下命令以安装 scipy 但安装过程已被终止时。
安装命令
pip install scipy
Run Code Online (Sandbox Code Playgroud)
在安装过程中,我收到以下消息。
Collecting scipy
Downloading scipy-0.19.0-cp27-cp27mu-manylinux1_x86_64.whl (45.0MB)
99% |????????????????????????????????| 45.0MB 46.8MB/s eta 0:00:01Killed
Run Code Online (Sandbox Code Playgroud)
任何帮助将不胜感激。谢谢。
尝试以下命令:
pip --no-cache-dir install scipy
Run Code Online (Sandbox Code Playgroud)
根据您scipy在有限内存环境中安装的 Google Cloud VM 设置,可能会导致问题。似乎pip正在尝试在缓存之前将完整文件读入内存。通过运行上述命令,您要求pip避免缓存,这应该是进程在 99% 时被杀死的解决方案。
| 归档时间: |
|
| 查看次数: |
1200 次 |
| 最近记录: |