Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

How should I install deap package for python from spyder?

I have tried:

pip install deal

import deap
deap.download()
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
405 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...