-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Openbabel package name conflict #130
Comments
I spent 2 hours on this problem and it turned out to be a publishing error with openbabel. In fact, openbabel can be installed correctly using pip install openbabel-wheel, but plip still cannot be installed correctly. My guess is that pip install openbabel is still used when installing dependencies. Now please let us pray that PLIP developers or openbabel developers fix these issues |
Since there are different ways to install OpenBabel, such as as part of a distribution, as a Conda package, built locally, installed as a Python wheel, or via Homebrew, and so on, Plip I think should remove its hard dependency on OpenBabel and document that (already done). Additionally, the Python code of Plip can provide an error message if OpenBabel bindings are not found and suggest one of the ways to install it. This approach is taken by some R libraries for example. While having a hardcoded dependency on OpenBabel wheel may work for many users, it does not provide the option to use an existing installation of OpenBabel. Also it may be best to wait until the wheel is provided by the official OpenBabel distribution. For more details about broken vers 3.1.1.1 see this issue: openbabel/openbabel#2408 |
New release 2.4.0 is supposed to partially solve the issue with OpenBabel installation. There are still many different ways to install Python packages, also, the current setup is considered legacy and needs to be updated. In order to force the building of the fixed OpenBabel module, one would need to run |
When installing "PLIP" via pip, the "openbabel" version mentioned in the requirements and to be installed shows a conflict. Given requirements shows a version of "~=3.0.0", but while installation shows it shows version " ==3.1.1.1" which never got released.
Expected solution changing the openbabel version to "==3.1.1".
**** Errors occurred ****
The text was updated successfully, but these errors were encountered: