Python 2.7 使用pip的Scipy安装已在Google云实例上终止
我是google clouud的新手,我正在尝试在我的google云实例上安装scipy 当我在google cloud shell上执行以下命令以安装scipy时,安装过程已经停止 安装命令Python 2.7 使用pip的Scipy安装已在Google云实例上终止,python-2.7,scipy,pip,google-cloud-platform,google-compute-engine,Python 2.7,Scipy,Pip,Google Cloud Platform,Google Compute Engine,我是google clouud的新手,我正在尝试在我的google云实例上安装scipy 当我在google cloud shell上执行以下命令以安装scipy时,安装过程已经停止 安装命令 pip install scipy 在安装过程中,我收到以下消息 Collecting scipy Downloading scipy-0.19.0-cp27-cp27mu-manylinux1_x86_64.whl (45.0MB) 99% |█████████████████████████████
pip install scipy
在安装过程中,我收到以下消息
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
任何帮助都将不胜感激。谢谢。cloud shell不打算用于进行繁重的计算,它有很多优点
我建议您创建一个虚拟机,然后使用shell在其中进行SSH 尝试以下命令:
pip --no-cache-dir install scipy
根据您的谷歌云虚拟机设置,在内存有限的环境中安装
scipy
可能会导致问题。似乎pip
正在尝试在缓存整个文件之前将其读入内存。通过运行上述命令,您要求pip
避免缓存,这应该是99%终止进程的解决方案。。