Hi folks,

I'm trying to use openbabel in a google colab python script. However, it
seems that the installation with pip is not working.

Google Colab currently uses python 3.10.9 and the output of the command
"!pip install openbabel" is pasted below.

Any ideas on how to fix this?

Thanks a lot in advance,

Alessandro


*********************************************************************************

Looking in indexes: https://pypi.org/simple,
https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting openbabel==3.1.1.1
  Using cached openbabel-3.1.1.1.tar.gz (82 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: openbabel
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a
problem with pip.
  Building wheel for openbabel (setup.py) ... error
  ERROR: Failed building wheel for openbabel
  Running setup.py clean for openbabel
Failed to build openbabel
Installing collected packages: openbabel
  error: subprocess-exited-with-error

  × Running setup.py install for openbabel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a
problem with pip.
  Running setup.py install for openbabel ... error
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> openbabel

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

-- 
*****************************************************************
* Alessandro S. Nascimento                                             *
* Associate Professor - Sao Carlos Institute of Physics   *
* University of São Paulo (IFSC/USP)                              *
* E-mail: asnascime...@ifsc.usp.br                                 *
*****************************************************************
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to