2016-04-25 169 views
-1

我應該如何從spyder安裝python的deap軟件包?Python的安裝Deap(Spyder)

我曾嘗試:PIP INSTAL交易, 進口DEAP, deap.download()

+0

你試過這些步驟和...? – Selcuk

+0

當你嘗試你提到的步驟時究竟出了什麼問題? – user312016

+0

您安裝**'deal' **並導入**'deap' ** ...也許如果您嘗試安裝**'deap' **? –

回答

0

假設DEAP沒有安裝,類型:

pip install deap 

如果你得到的迴應

Collecting deap 
Installing collected packages: deap 
Successfully installed deap-1.0.2 

然後,你剛剛安裝了deap,你準備好import它進入你的項目。

如果您得到回覆,Requirement already satisfied (use --upgrade to upgrade): deap in ./Path/To/site-packages,已經安裝了deap,並且您已準備好import它。