我有Ubuntu 16.04服務器環境,並試圖在其上安裝CNTK。雖然我試圖在環境部分安裝pip安裝,但出現以下錯誤。在安裝.whl文件時安裝CNTK - MemoryError時出錯
我成功地低於2步跑:
$暢達創建--name cntk-PY34蟒蛇= 3.4 numpy的SciPy的h5py jupyter
$激活cntk-py35
但是,當我嘗試安裝該cntk WHL文件我得到一個錯誤:
$ PIP安裝https://cntk.ai/PythonWheel/CPU-Only/cntk-2.0.beta15.0-cp35-cp35m-linux_x86_64.whl
========錯誤==================
例外: 回溯(最近通話最後一個): 文件 「/home/ubuntu/.conda/envs/cntk-py35/lib/python3.5/site-packages/pip/basecommand.py」,行215,主 status = self.run(options,args) 文件「/home/ubuntu/.conda/envs/cntk-py35/lib/python3.5/site-packages/pip/commands/install.py」 ,第335行,運行 wb.build(autobuilding = True) 文件「/home/ubuntu/.conda/envs/cntk-py35/lib/python3.5/site-packages/pip/wheel.py」,行749,in build self.requirement_set.prepare_files(self.finder) 文件「/home/ubuntu/.conda/envs/cntk-py35/lib/python3.5/site-packages/pip/req/req_set.py」 ,380行,在prepare_files ignore_d ependencies = self.ignore_dependencies)) 文件「/home/ubuntu/.conda/envs/cntk-py35/lib/python3.5/site-packages/pip/req/req_set.py」,第620行,在_prepare_file中 會話= self.session,hashes = hashes) 文件「/home/ubuntu/.conda/envs/cntk-py35/lib/python3.5/site-packages/pip/download.py」,第821行,在unpack_url中 散列=散列 文件「/home/ubuntu/.conda/envs/cntk-py35/lib/python3.5/site-packages/pip/download.py」,行659,in unpack_http_url 哈希) 文件「/ home/ubuntu/.conda/envs/cntk-py35/lib/python3.5/site-packages/pip/download.py「,行853,位於_download_http_url stream = True, File」/home/ubuntu/.conda/envs /cntk-py35/lib/python3.5/site-packages/pip/_vendor/requests/sessions.py「,第488行,獲得 return self.request('GET',url,** kwargs) 文件「/home/ubuntu/.conda/envs/cntk-py35/lib/python3.5/site-packages/pip/download.py」,第386行,請求 return super(PipSession,self).request(method,url,* args,** kwargs) 文件「/home/ubuntu/.conda/envs/cntk-py35/lib/python3.5/ site-packages/pip/_vendor/requests/sessions.py「,第475行,請求 resp = self.send(prep,** send_kwargs) 文件」/home/ubuntu/.conda/envs/cntk-py35/ lib/python3.5/site-packages/pip/_vendor/requests/sessions.py「,第596行,發送 r = adapter.send(request,** kwargs) 文件」/home/ubuntu/.conda/ envs/cntk-py35/lib/python3.5/site-packages/pip/_vendor/cachecontrol/adapter.py「,第37行,發送 cached_response = self.controller.cached_request(request ) 文件「/home/ubuntu/.conda/envs/cntk-py35/lib/python3.5/site-packages/pip/_vendor/cachecontrol/controller.py」,第111行,在cached_request中 resp = self.serializer .loads(request,cache_data) 文件「/home/ubuntu/.conda/envs/cntk-py35/lib/python3.5/site-packages/pip/_vendor/cachecontrol/serialize.py」,第114行,載入 return getattr(self,「_loads_v {0}」。format(ver))(request,data) 文件「/home/ubuntu/.conda/envs/cntk-py35/lib/python3。5 /站點包/ PIP/_vendor/cachecontrol/serialize.py」,線路176,在_loads_v2 緩存= json.loads(zlib.decompress(數據).decode( 「UTF8」)) 的MemoryError
不限想法?
提前感謝!