Closed jbarnoud closed 7 years ago
I also couldn't install pymbar3.0.2 via pip install
on several machines and got the same message as jbarnoud. However, using the current state of the repo (as jbarnoud suggested) fixed this.
Please fix the tarball.
@Lnaden should be able to tackle it this week!
I just cut the release for pymbar
3.0.3 which fixes this issue. There are no changes to the functional code for PyMBAR from 3.0.2, but it did require me to change the distribution code a bit, hence the version bump.
Let us know if there are any further issues!
Long version of what happened in case you want to know, and for documentation:
The _pymbar.c
extension is configured only to compile on Python 2.X. If the tarball was created with Python 3.X, the extension is never compiled so the .c
file is ignored by default and not included with the tarball. This is what happened with 3.0.2 and also why installing from source works, because the .c
file is present in the GitHub source.
Pymbar cannot be installed from pypi because
pymbar/_pymbar.c
is missing from the tarball.I try to install pymbar on python 2.7 in a fresh virtualenv:
Pip tries to install pymbar in version 3.0.2 but fails with the following error message:
The relevant part seems to be:
While the file is present in the git repository, it is not in the tarball on pypi:
The issue appears to be fixed in the current state of the git repo:
However, the package that is currently available on pypi does not install.