Skip to content
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

[Question]: I am not able to install gmxmmpbsa on ubuntu 2024. #517

Open
AKR845 opened this issue Jul 4, 2024 · 6 comments
Open

[Question]: I am not able to install gmxmmpbsa on ubuntu 2024. #517

AKR845 opened this issue Jul 4, 2024 · 6 comments

Comments

@AKR845
Copy link

AKR845 commented Jul 4, 2024

My Question is...

/tmp/pip-build-env-8i30r4s1/overlay/lib/python3.10/site-packages/numpy/_core/include/numpy/ndarrayobject.h:139:62: note: in definition of macro ‘PyArray_GETPTR1’ 139 | (i)*PyArray_STRIDES(obj)[0])) | ^~~ /tmp/pip-build-env-8i30r4s1/overlay/lib/python3.10/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1526:38: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’} 1526 | PyArray_STRIDES(const PyArrayObject *arr) | ~~~~~~~~~~~~~~~~~~~~~^~~ pandas/_libs/src/ujson/python/JSONtoObj.c:319:31: warning: passing argument 1 of ‘PyArray_SETITEM’ from incompatible pointer type [-Wincompatible-pointer-types] 319 | PyArray_SETITEM(npyarr->ret, item, value) == -1) { | ~~~~~~^~~~~ | | | PyObject * {aka struct _object *} /tmp/pip-build-env-8i30r4s1/overlay/lib/python3.10/site-packages/numpy/_core/include/numpy/ndarrayobject.h:292:32: note: expected ‘PyArrayObject *’ {aka ‘struct tagPyArrayObject_fields *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’} 292 | PyArray_SETITEM(PyArrayObject *arr, char *itemptr, PyObject *v) | ~~~~~~~~~~~~~~~^~~ error: command '/usr/bin/gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pandas Failed to build pandas

@AKR845
Copy link
Author

AKR845 commented Jul 4, 2024

Screenshot from 2024-07-04 19-29-03
Screenshot from 2024-07-04 18-54-14
Please help me to solve this

@Valdes-Tresanco-MS
Copy link
Owner

What version of pandas are you trying to install?

@denizkavi
Copy link

denizkavi commented Jul 5, 2024

I'm having the same problem:

Collecting pandas==1.2.2 (from gmx_MMPBSA)
  Using cached pandas-1.2.2.tar.gz (5.5 MB)

Was able to resolve by running
pip install pandas==2.2.2 gmx_MMPBSA

@Valdes-Tresanco-MS
Copy link
Owner

Probably this pandas version ends in an error. Please, try to install the 1.2.2

@AKR845
Copy link
Author

AKR845 commented Jul 5, 2024 via email

@Valdes-Tresanco-MS
Copy link
Owner

@denizkavi, @AKR845 I don't know why this is happening, but this configuration works for me

conda create -n gmxMMPBSA python=3.9 -y -q
conda activate gmxMMPBSA
conda install -c conda-forge "mpi4py<=3.1.5" "ambertools<=23.3" -y -q
python -m pip install "numpy==1.22.3" "pandas==1.2.2" "pyqt6<=6.6.1"

Please, let me know if this works for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants