Install Deap for Python (Spyder)

跟風遠走 提交于 2019-12-13 09:47:09

问题


How should I install deap package for python from spyder?

I have tried:

pip install deal

import deap
deap.download()

回答1:


Assuming deap is not installed, type:

pip install deap

If you get the response

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

Then you have just installed deap and you are ready to import it into your projects.

If you get the response, Requirement already satisfied (use --upgrade to upgrade): deap in ./Path/To/site-packages, deap is already installed and you are ready to import it.



来源:https://stackoverflow.com/questions/36830338/install-deap-for-python-spyder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!