问题
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