bjornwallner / DockQ

DockQ is a single continuous quality measure for protein docked models based on the CAPRI evaluation protocol
MIT License
186 stars 46 forks source link

Python/pip version #32

Closed Luke-ebbis closed 1 month ago

Luke-ebbis commented 1 month ago

Hey developers of DockQ, when I attempt to install the software I get the error:

pip install .
Processing /home/sibbe/Downloads/DockQ
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
ERROR: Package 'dockq-2.1' requires a different Python: 3.8.10 not in '>=3.9'

I am using pip 24.0 and python 3.8.10.

From just checking the documentation, it is not clear which version of python you used to build the project. Could you help me?

Kind regards

clami66 commented 1 month ago

Hi,

python >= 3.9 is required to install DockQ, as we haven't tested it on older versions. If you cannot update python, you could try and set the requirement in project.toml to python 3.8 and rerun pip install, but I can't guarantee that it will work.

Luke-ebbis commented 1 month ago

Thank you, I found that also having the correct pip version is important.

python = "3.9.1"
pip = ">=24.0,<25"

this worked to assemble the project.