2016-08-19 110 views
1

我從here下載了Graphlab安裝程序,並試圖安裝在我的計算機中。但我將其安裝目錄更改爲anaconda3,但Anaconda2也安裝在我的計算機中。但安裝以錯誤結束。然後我卸載Anaconda2,Anacond3並從我的電腦中刪除了所有與Graphlab相關的文件。後來我重新安裝了這些文件,並試圖將它安裝到Anacaonda 2,但我發現了以下錯誤:Graphlab在Windows 8.1中安裝錯誤

「激活gl-env時出現問題conda環境重新啓動GraphLab創建啓動器

Unable to activate conda environment "gl-env": Deactivating environment "C:\Anaconda2"... Activating environment "C:\Anaconda2\envs\gl-env"... The input line is too long. "PATH_NO_SCRIPTS=C:\Anaconda2\envs\gl-env;C:\Anaconda2\envs\gl-env\Scripts;C:\Anaconda2\envs\gl-env\Library\bin;C:\Anaconda2;;C:\ProgramData\Oracle\Java\javapath;H:\IDE\Kornodo\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Perl64\bin\;C:\Program Files\MATLAB\MATLAB Production Server\R2015a\runtime\win64;C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin;C:\Program Files\MATLAB\MATLAB Production Server\R2015a\polyspace\bin;C:\Program Files (x86)\File Viewer Lite\lib\magick;C:\Anaconda3\Library\binC:\Program Files\Java\jre1.8.0_102\bin;C:\Program Files\Git\cmd;;C:\Anaconda3;C:\Anaconda3\Scripts;C:\Anaconda3\Library\bin;C:\ProgramData\Oracle\Java\javapath;H:\IDE\Kornodo\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;F:\Game development\UNreal engine;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Skype\Phone\;C:\ProgramData\Oracle\Java\javapath;H:\IDE\Kornodo\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;F:\Game development\UNreal engine;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Skype\Phone\;C:\Python27;C:\Python27" was unexpected at this time.

Process completed with exit code -1"

我重新啓動GraphLab Create Launcher幾次。我試圖根據這個link從cmd安裝它,但是當我嘗試激活gl-env時它也顯示上述錯誤。

回答

0

我有同樣的問題,它似乎是由於PATH環境變量太長。

嘗試縮短它確保anaconda路徑仍然存在。

請確保先備份舊的路徑。

我使用的是贏7,所以你可能需要谷歌如何編輯你的PATH變量。

在Win 7:

單擊開始

右鍵單擊計算機 - >選擇屬性

點擊高級系統設置

在出現底部單擊環境變量對話框

在系統變量組中突出顯示路徑並單擊編輯

複製整個變量值並粘貼到記事本中。將其保存爲備份,以便恢復,然後刪除可能不相關的任何內容並粘貼回變量值。

單擊所有的確定並關閉並重新打開您的命令提示符。直到您這樣做,這些更改纔會生效。

希望這有助於