與here類似的問題,但現在在Python包上。目前,Azure ML中缺少CVXPY。我也試圖讓其他求解器,如GLPK,CLP和COINMP在Azure ML中工作。在Azure ML中安裝Python包?
如何在Azure ML中安裝Python包?
更新大約要安裝在Azure的ML沒有找到Python包。
I did as instructed by Peter Pan but I think the 32bits CVXPY files are wrong for the Anaconda 4 and Python 3.5 in Azure ML, logs and errors are here .
[Information] Running with Python 3.5.1 |Anaconda 4.0.0 (64-bit)| (default, Feb 16 2016, 09:49:46) [MSC v.1900 64 bit (AMD64)]
更新2 win_amd64文件(粘貼here)
[Information] Extracting Script Bundle.zip to .\Script Bundle [Information] File Name Modified Size [Information] cvxopt-1.1.9-cp35-cp35m-win_amd64.whl 2017-06-07 01:03:34 1972074 [Information] __MACOSX/ 2017-06-07 01:26:28 0 [Information] __MACOSX/._cvxopt-1.1.9-cp35-cp35m-win_amd64.whl 2017-06-07 01:03:34 452 [Information] cvxpy-0.4.10-py3-none-any.whl 2017-06-07 00:25:36 300880 [Information] __MACOSX/._cvxpy-0.4.10-py3-none-any.whl 2017-06-07 00:25:36 444 [Information] ecos-2.0.4-cp35-cp35m-win_amd64.whl 2017-06-07 01:03:40 56522 [Information] __MACOSX/._ecos-2.0.4-cp35-cp35m-win_amd64.whl 2017-06-07 01:03:40 450 [Information] numpy-1.13.0rc2+mkl-cp35-cp35m-win_amd64.whl 2017-06-07 01:25:02 127909457 [Information] __MACOSX/._numpy-1.13.0rc2+mkl-cp35-cp35m-win_amd64.whl 2017-06-07 01:25:02 459 [Information] scipy-0.19.0-cp35-cp35m-win_amd64.whl 2017-06-07 01:05:12 12178932 [Information] __MACOSX/._scipy-0.19.0-cp35-cp35m-win_amd64.whl 2017-06-07 01:05:12 452 [Information] scs-1.2.6-cp35-cp35m-win_amd64.whl 2017-06-07 01:03:34 78653 [Information] __MACOSX/._scs-1.2.6-cp35-cp35m-win_amd64.whl 2017-06-07 01:03:34 449 [Information] [ READING ] 0:00:00 [Information] Input pandas.DataFrame #1: [Information] Empty DataFrame [Information] Columns: [1] [Information] Index: [] [Information] [ EXECUTING ] 0:00:00 [Information] [ WRITING ] 0:00:00
where
import cvxpy
,import cvxpy-0.4.10-py3-none-any.whl
orcvxpy-0.4.10-py3-none-any
do not work soHow can I use the following wheel files downloaded from here to use the external Python packages not found in Azure ML?
更新關於關於進口cvxpy權限問題(粘貼here)
[Error] ImportError: No module named 'canonInterface'
where the ZIP Bundle is organised a bit differently, the content of each wheel downloaded to a folder and the content having all zipped as a ZIP Bundle.
這是否意味着外部軟件包與R比Python更好地工作?在R中,我們可以在Python中使用intall.package選項壓縮包,我們只能將它們用作腳本,而無需在Azure ML中進行安裝。 – hhh
@hhh這是Azure ML上執行Python腳本模塊的一個限制,特別是對於安裝時需要編譯的軟件包。 –
@hhh對於Azure ML的IPython接口,我在我的文章中進行了更新。 –