I’ve tried the solutions from here but can’t get them working.
pip install deap
installs the python2 version of deap on my RPi4b for some reason, even with python3.10 installed, as evident by some syntax errors.
I see that there is a pull request that has the 2 to 3 conversions done in the files already. How can I pip install that pull request?
I’ve tried cloning deap and running python3 setup.py install
, but it doesn’t install the to appropriate site-packages
folder for any script to see it installed. Any ideas?
Advertisement
Answer
The pull request is created from a git branch, so you can install the specific branch by:
pip install -e git://github.com/{ reponame path }.git@{ tag or branch name }#egg={ desired egg name }
in your case:
pip install -e git://github.com/hidmic/deap.git@py3#egg=deap