ProDy
ProDy copied to clipboard
pip install cannot build wheels
I tried using pip install -U ProDy as instructed here: http://prody.csb.pitt.edu/downloads/ The error is as follows:
ERROR: Failed building wheel for ProDy Failed to build ProDy ERROR: Could not build wheels for ProDy which use PEP 517 and cannot be installed directly
I have tried pip installing PEP517, SciPy, NumPy, and Biopython, all to no avail. I am currently running python version 3.7.9 and pip 21.0.1.
What operating system?
Please try pip install -U prody —no-binary
Any luck with this?
@jamesmkrieger , I suspect this was on OSX Catalina and relates to XCode.
The suggestion from @SHZ66 didn't work in my case, but what did was:
ARCHFLAGS="-arch x86_64" pip install prody
Thanks for the suggestion
Is this still a problem with the latest ProDy version, 2.1.2?
@jamesmkrieger I am still having the same issue, with ProDy versions 2.0.0 and higher I am trying to upgrade my environment to python 3.8
Python 3.8.13
Pip version 21.2.2
ERROR: Failed building wheel for prody
Failed to build prody
ERROR: Could not build wheels for prody which use PEP 517 and cannot be installed directly
I tried to run python -m pip install --no-use-pep517 prody
without luck
##################################################################### Different error when upgrading pip
Python 3.8.13
Pip version 22.1.2
× Building wheel for prody (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [289 lines of output]
...
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ProDy
Failed to build ProDy
ERROR: Could not build wheels for ProDy, which is required to install pyproject.toml-based projects
##########################################################################
I had ProDy working in Python 3.7.3 though.
Python 3.7.3
Pip version 21.2.2
My gcc compiler is :
gcc (crosstool-NG 1.23.0.449-a04d0) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
Let me know if you require more information. The summary is that I have tried several combinations without luck.
Thanks in advance!
I don't really know what to do to help.
What I could suggest is to try installing from conda or from source.
What operating system are you using?
@jamesmkrieger Thanks for your reply. I am using Ubuntu 20.04.4 LTS. I will try conda as soon as I can.
Oh ok. It really should work then
@jamesmkrieger conda install -c conda-forge prody
seems to work, but the pip installer is broken. Thanks for the help!
Great to know. Thanks
I have managed to use the pip installer on Ubuntu 20.04 I think but maybe it's quite sensitive somehow. We'll probably have to figure it out at some point.
Sorry for the inconvenience
Is this working now with 2.3.0? I know 2.3.1 has problems so I'm not asking about that one
@jamesmkrieger pip install prody==2.3.0
worked on Ubuntu 20.04.4 LTS with python 3.8.13
ok. Good. I think I'll make 2.3.2 over the next few days and hopefully that will work too
please try again with prody 2.4.0 that I just released
Worked in python 3.8.13
! However I was feeling adventurous and I tested it on python 3.9.12
and it could not install the wheels.
oh, that's a shame. I'll try and figure out why. Thanks
Hello, I am trying to install this using pip, and I get a similar error, ending with:
ERROR: Could not build wheels for prody, which is required to install pyproject.toml-based projects
I am using python 3.11.2. Is the version I'm using the issue? I have pip 23.0.1. I am using Windows 11.
Here's some background: ProDy is a dependency for a protein-protein docking software (lightdock) I'm trying to install.
@SciKidSirish My recommendation is to downgrade python to 3.8 or so, most bioinformatic tools are still behind python updates
@SciKidSirish My recommendation is to downgrade python to 3.8 or so, most bioinformatic tools are still behind python updates
Thanks. Yes, 3.8 or 3.9 should be good. I think 3.10 should be too, but there may be some problems there
Hello, I am trying to install this using pip, and I get a similar error, ending with:
ERROR: Could not build wheels for prody, which is required to install pyproject.toml-based projects
I am using python 3.11.2. Is the version I'm using the issue? I have pip 23.0.1. I am using Windows 11.
Please don't comment in multiple places. This issue was a Mac and Linux one
Ignoring Python 3.11, are people now managing to install ProDy ok?