MPI-IS / mesh

MPI-IS Mesh Processing Library
Other
643 stars 147 forks source link

Not able to run "make all" and install "psbody-mesh" #89

Open Arish2022 opened 1 year ago

Arish2022 commented 1 year ago

Hello @raffienficiaud and @anuragranj and @ioreshnikov , I tried to install psbody-mesh using "make all" in Ubuntu. But getting below error. Do you have any thoughts? Thanks in advance, Ari

(my_venv) ubuntu@Workstation-i9:/mnt/c/Users/Remote User/mesh$ BOOST_INCLUDE_DIRS=/usr/include/boost make all ----- [ mesh_package ] Installing with the interpreter /mnt/c/Users/Remote User/my_venv/bin/python (version 3.7.16) Requirement already satisfied: setuptools in /mnt/c/Users/Remote User/my_venv/lib/python3.7/site-packages (from -r requirements.txt (line 1)) (67.7.2) Requirement already satisfied: numpy in /mnt/c/Users/Remote User/my_venv/lib/python3.7/site-packages (from -r requirements.txt (line 2)) (1.21.6) Collecting matplotlib (from -r requirements.txt (line 3)) Downloading matplotlib-3.5.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (11.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.2/11.2 MB 7.5 MB/s eta 0:00:00 Collecting scipy (from -r requirements.txt (line 4)) Downloading scipy-1.7.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (38.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.1/38.1 MB 7.1 MB/s eta 0:00:00 Collecting pyopengl (from -r requirements.txt (line 5)) Using cached PyOpenGL-3.1.6-py3-none-any.whl (2.4 MB) Collecting pillow (from -r requirements.txt (line 6)) Using cached Pillow-9.5.0-cp37-cp37m-manylinux_2_28_x86_64.whl (3.4 MB) Collecting pyzmq (from -r requirements.txt (line 7)) Downloading pyzmq-25.0.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 12.2 MB/s eta 0:00:00 Collecting pyyaml (from -r requirements.txt (line 8)) Downloading PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (596 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.3/596.3 kB 11.3 MB/s eta 0:00:00 Collecting opencv-python (from -r requirements.txt (line 9)) Using cached opencv_python-4.7.0.72-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (61.8 MB) Collecting cycler>=0.10 (from matplotlib->-r requirements.txt (line 3)) Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB) Collecting fonttools>=4.22.0 (from matplotlib->-r requirements.txt (line 3)) Downloading fonttools-4.38.0-py3-none-any.whl (965 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 965.4/965.4 kB 10.4 MB/s eta 0:00:00 Collecting kiwisolver>=1.0.1 (from matplotlib->-r requirements.txt (line 3)) Downloading kiwisolver-1.4.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 7.7 MB/s eta 0:00:00 Collecting packaging>=20.0 (from matplotlib->-r requirements.txt (line 3)) Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting pyparsing>=2.2.1 (from matplotlib->-r requirements.txt (line 3)) Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB) Collecting python-dateutil>=2.7 (from matplotlib->-r requirements.txt (line 3)) Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting typing-extensions (from kiwisolver>=1.0.1->matplotlib->-r requirements.txt (line 3)) Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB) Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib->-r requirements.txt (line 3)) Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Installing collected packages: pyopengl, typing-extensions, six, scipy, pyzmq, pyyaml, pyparsing, pillow, packaging, opencv-python, fonttools, cycler, python-dateutil, kiwisolver, matplotlib Successfully installed cycler-0.11.0 fonttools-4.38.0 kiwisolver-1.4.4 matplotlib-3.5.3 opencv-python-4.7.0.72 packaging-23.1 pillow-9.5.0 pyopengl-3.1.6 pyparsing-3.0.9 python-dateutil-2.8.2 pyyaml-6.0 pyzmq-25.0.2 scipy-1.7.3 six-1.16.0 typing-extensions-4.5.0 Package Version


cycler 0.11.0 fonttools 4.38.0 kiwisolver 1.4.4 matplotlib 3.5.3 numpy 1.21.6 opencv-python 4.7.0.72 packaging 23.1 Pillow 9.5.0 pip 23.1.2 PyOpenGL 3.1.6 pyparsing 3.0.9 python-dateutil 2.8.2 PyYAML 6.0 pyzmq 25.0.2 scipy 1.7.3 setuptools 67.7.2 six 1.16.0 typing_extensions 4.5.0 wheel 0.40.0

Usage: pip install [options] [package-index-options] ... pip install [options] -r [package-index-options] ... pip install [options] [-e] ... pip install [options] [-e] ... pip install [options] <archive url/path> ...

no such option: --install-option make: *** [Makefile:7: all] Error 2

sk-nam commented 1 year ago

I changed Makefile:7 as @pip install --no-deps --verbose --no-cache-dir . It works for me!

Zrduan724 commented 12 months ago

I changed Makefile:7 as @pip install --no-deps --verbose --no-cache-dir . It works for me!

It works for me too, thanks a lot!

ykw3333 commented 10 months ago

I changed Makefile:7 as @pip install --no-deps --verbose --no-cache-dir . It works for me! According to your modifications, this issue has occurred, can you help me?

ep.load()(self, ep.name, value) running clean removing 'build/temp.linux-x86_64-cpython-38' (and everything under it) removing 'build/lib.linux-x86_64-cpython-38' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.8' does not exist -- can't clean it removing 'build' Failed to build psbody-mesh **ERROR: Could not build wheels for psbody-mesh, which is required to install pyproject.toml-based projects make: * [Makefile:7: all] Error 1

hrWong commented 9 months ago

I changed Makefile:7 as @pip install --no-deps --verbose --no-cache-dir . It works for me! According to your modifications, this issue has occurred, can you help me?

ep.load()(self, ep.name, value) running clean removing 'build/temp.linux-x86_64-cpython-38' (and everything under it) removing 'build/lib.linux-x86_64-cpython-38' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.8' does not exist -- can't clean it removing 'build' Failed to build psbody-mesh **ERROR: Could not build wheels for psbody-mesh, which is required to install pyproject.toml-based projects make: * [Makefile:7: all] Error 1

i have same issue,did you fix it

Gpwner commented 8 months ago

replace --install-option with --config-settings works for me

KVBK01 commented 8 months ago

I am still wondering how to fix this issue.

I tried replace --install-option with --config-settings works for me

but ERROR: Could not build wheels for psbody-mesh, which is required to install pyproject.toml-based projects make: *** [Makefile:7: all] Error 1

still occurs

Any insights?

CIntellifusion commented 7 months ago

I changed Makefile:7 as @pip install --no-deps --verbose --no-cache-dir . It works for me!

it works for me as well, thanks!!

rahulsanju commented 4 months ago

I am still wondering how to fix this issue.

I tried replace --install-option with --config-settings works for me

but ERROR: Could not build wheels for psbody-mesh, which is required to install pyproject.toml-based projects make: *** [Makefile:7: all] Error 1

still occurs

Any insights?

Even I am getting this issue, Were you able to find any resolution for this?

571119725 commented 3 months ago

I am still wondering how to fix this issue. I tried replace --install-option with --config-settings works for me but ERROR: Could not build wheels for psbody-mesh, which is required to install pyproject.toml-based projects make: *** [Makefile:7: all] Error 1 still occurs Any insights?

Even I am getting this issue, Were you able to find any resolution for this? I solved this problem by following this https://github.com/EricGuo5513/HumanML3D/issues/10#issuecomment-1367365900