How to install an umerged pull request with pip?

Question:

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?

Asked By: Matt Wilson

||

Answers:

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
Answered By: Hussein Awala
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.