thuhcsi / MagicMan

Official repository for paper "MagicMan: Generative Novel View Synthesis of Humans with 3D-Aware Diffusion and Iterative Refinement"
MIT License
250 stars 8 forks source link

pickle5 - mmhuman3d + python 3.11 - #5

Open johndpope opened 2 months ago

johndpope commented 2 months ago

Must use this https://github.com/open-mmlab/mmhuman3d/pull/366

can add this to requirements git+https://github.com/Wei-Chen-hub/mmhuman3d.git

or

pip install git+https://github.com/Wei-Chen-hub/mmhuman3d.git
pip install "mmcv>=1.3.17,<2.0.0"

File "/media/oem/12TB/MagicMan/thirdparties/econ/lib/common/smpl_utils.py", line 29, in from mmhuman3d.core.renderer.torch3d_renderer.meshes import ParametricMeshes ModuleNotFoundError: No module named 'mmhuman3d'

<pre>pip install mmhuman3d                           
<font color="#A2734C">DEPRECATION: Loading egg at /home/oem/.local/lib/python3.11/site-packages/decord-0.6.0-py3.11-linux-x86_64.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330</font>
<font color="#A2734C">DEPRECATION: Loading egg at /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/sparse_conv2d_cuda-0.0.0-py3.11-linux-x86_64.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330</font>
<font color="#A2734C">DEPRECATION: Loading egg at /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/pcilt_conv_cuda-0.0.0-py3.11-linux-x86_64.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330</font>
<font color="#A2734C">DEPRECATION: Loading egg at /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/torchviz-0.0.2-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330</font>
Collecting mmhuman3d
  Using cached mmhuman3d-0.11.0-py2.py3-none-any.whl.metadata (11 kB)
Collecting astropy (from mmhuman3d)
  Using cached astropy-6.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (10 kB)
Collecting cdflib&lt;0.4.0 (from mmhuman3d)
  Using cached cdflib-0.3.20-py3-none-any.whl
Requirement already satisfied: chumpy in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from mmhuman3d) (0.70)
Collecting colormap (from mmhuman3d)
  Using cached colormap-1.1.0-py3-none-any.whl.metadata (4.0 kB)
Collecting easydev (from mmhuman3d)
  Using cached easydev-0.13.2-py3-none-any.whl.metadata (3.5 kB)
Requirement already satisfied: einops in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from mmhuman3d) (0.8.0)
Requirement already satisfied: h5py in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from mmhuman3d) (3.10.0)
Requirement already satisfied: matplotlib in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from mmhuman3d) (3.7.4)
Requirement already satisfied: numpy in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from mmhuman3d) (1.25.2)
Requirement already satisfied: opencv-python in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from mmhuman3d) (4.8.0.76)
Collecting pandas&lt;2.0.0 (from mmhuman3d)
  Using cached pandas-1.5.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Collecting pickle5 (from mmhuman3d)
  Using cached pickle5-0.0.11.tar.gz (132 kB)
  Preparing metadata (setup.py) ... done
Collecting plyfile (from mmhuman3d)
  Using cached plyfile-1.1-py3-none-any.whl.metadata (2.1 kB)
Collecting rtree (from mmhuman3d)
  Using cached Rtree-1.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.1 kB)
Requirement already satisfied: scikit-image in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from mmhuman3d) (0.21.0)
Requirement already satisfied: scipy in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from mmhuman3d) (1.10.1)
Collecting smplx (from mmhuman3d)
  Using cached smplx-0.1.28-py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: tqdm in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from mmhuman3d) (4.66.4)
Requirement already satisfied: trimesh in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from mmhuman3d) (4.0.5)
Collecting vedo (from mmhuman3d)
  Using cached vedo-2024.5.2-py3-none-any.whl
Requirement already satisfied: attrs&gt;=19.2.0 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from cdflib&lt;0.4.0-&gt;mmhuman3d) (23.2.0)
Requirement already satisfied: python-dateutil&gt;=2.8.1 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from pandas&lt;2.0.0-&gt;mmhuman3d) (2.8.2)
Requirement already satisfied: pytz&gt;=2020.1 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from pandas&lt;2.0.0-&gt;mmhuman3d) (2023.3.post1)
Collecting pyerfa&gt;=2.0.1.1 (from astropy-&gt;mmhuman3d)
  Using cached pyerfa-2.0.1.4-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.7 kB)
Collecting astropy-iers-data&gt;=0.2024.7.29.0.32.7 (from astropy-&gt;mmhuman3d)
  Using cached astropy_iers_data-0.2024.9.16.0.32.21-py3-none-any.whl.metadata (5.1 kB)
Requirement already satisfied: PyYAML&gt;=3.13 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from astropy-&gt;mmhuman3d) (6.0.1)
Requirement already satisfied: packaging&gt;=19.0 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from astropy-&gt;mmhuman3d) (24.0)
Requirement already satisfied: six&gt;=1.11.0 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from chumpy-&gt;mmhuman3d) (1.16.0)
Collecting matplotlib (from mmhuman3d)
  Using cached matplotlib-3.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Requirement already satisfied: contourpy&gt;=1.0.1 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from matplotlib-&gt;mmhuman3d) (1.2.0)
Requirement already satisfied: cycler&gt;=0.10 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from matplotlib-&gt;mmhuman3d) (0.12.1)
Requirement already satisfied: fonttools&gt;=4.22.0 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from matplotlib-&gt;mmhuman3d) (4.47.2)
Requirement already satisfied: kiwisolver&gt;=1.3.1 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from matplotlib-&gt;mmhuman3d) (1.4.5)
Requirement already satisfied: pillow&gt;=8 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from matplotlib-&gt;mmhuman3d) (9.5.0)
Requirement already satisfied: pyparsing&gt;=2.3.1 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from matplotlib-&gt;mmhuman3d) (3.1.1)
Requirement already satisfied: colorama&lt;0.5.0,&gt;=0.4.6 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from easydev-&gt;mmhuman3d) (0.4.6)
Requirement already satisfied: colorlog&lt;7.0.0,&gt;=6.8.2 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from easydev-&gt;mmhuman3d) (6.8.2)
Collecting line-profiler&lt;5.0.0,&gt;=4.1.2 (from easydev-&gt;mmhuman3d)
  Using cached line_profiler-4.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (34 kB)
Requirement already satisfied: pexpect&lt;5.0.0,&gt;=4.9.0 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from easydev-&gt;mmhuman3d) (4.9.0)
Collecting platformdirs&lt;5.0.0,&gt;=4.2.0 (from easydev-&gt;mmhuman3d)
  Using cached platformdirs-4.3.3-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: networkx&gt;=2.8 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from scikit-image-&gt;mmhuman3d) (3.2.1)
Requirement already satisfied: imageio&gt;=2.27 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from scikit-image-&gt;mmhuman3d) (2.33.1)
Requirement already satisfied: tifffile&gt;=2022.8.12 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from scikit-image-&gt;mmhuman3d) (2023.12.9)
Requirement already satisfied: PyWavelets&gt;=1.1.1 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from scikit-image-&gt;mmhuman3d) (1.5.0)
Requirement already satisfied: lazy_loader&gt;=0.2 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from scikit-image-&gt;mmhuman3d) (0.3)
Requirement already satisfied: torch&gt;=1.0.1.post2 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from smplx-&gt;mmhuman3d) (2.4.0+cu121)
Collecting vtk (from vedo-&gt;mmhuman3d)
  Using cached vtk-9.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.2 kB)
Requirement already satisfied: Pygments in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from vedo-&gt;mmhuman3d) (2.17.2)
Requirement already satisfied: typing-extensions in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from vedo-&gt;mmhuman3d) (4.9.0)
Requirement already satisfied: ptyprocess&gt;=0.5 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from pexpect&lt;5.0.0,&gt;=4.9.0-&gt;easydev-&gt;mmhuman3d) (0.7.0)
Requirement already satisfied: filelock in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (3.11.0)
Requirement already satisfied: sympy in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (1.12)
Requirement already satisfied: jinja2 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (3.1.3)
Requirement already satisfied: fsspec in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (2023.10.0)
Requirement already satisfied: nvidia-cuda-nvrtc-cu12==12.1.105 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (12.1.105)
Requirement already satisfied: nvidia-cuda-runtime-cu12==12.1.105 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (12.1.105)
Requirement already satisfied: nvidia-cuda-cupti-cu12==12.1.105 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (12.1.105)
Requirement already satisfied: nvidia-cudnn-cu12==9.1.0.70 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (9.1.0.70)
Requirement already satisfied: nvidia-cublas-cu12==12.1.3.1 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (12.1.3.1)
Requirement already satisfied: nvidia-cufft-cu12==11.0.2.54 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (11.0.2.54)
Requirement already satisfied: nvidia-curand-cu12==10.3.2.106 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (10.3.2.106)
Requirement already satisfied: nvidia-cusolver-cu12==11.4.5.107 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (11.4.5.107)
Requirement already satisfied: nvidia-cusparse-cu12==12.1.0.106 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (12.1.0.106)
Requirement already satisfied: nvidia-nccl-cu12==2.20.5 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (2.20.5)
Requirement already satisfied: nvidia-nvtx-cu12==12.1.105 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (12.1.105)
Requirement already satisfied: triton==3.0.0 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (3.0.0)
Requirement already satisfied: nvidia-nvjitlink-cu12 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from nvidia-cusolver-cu12==11.4.5.107-&gt;torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (12.4.99)
Requirement already satisfied: MarkupSafe&gt;=2.0 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from jinja2-&gt;torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (2.1.5)
Requirement already satisfied: mpmath&gt;=0.19 in /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages (from sympy-&gt;torch&gt;=1.0.1.post2-&gt;smplx-&gt;mmhuman3d) (1.3.0)
Using cached mmhuman3d-0.11.0-py2.py3-none-any.whl (484 kB)
Using cached pandas-1.5.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.0 MB)
Using cached astropy-6.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB)
Using cached colormap-1.1.0-py3-none-any.whl (16 kB)
Using cached matplotlib-3.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB)
Using cached easydev-0.13.2-py3-none-any.whl (56 kB)
Using cached plyfile-1.1-py3-none-any.whl (23 kB)
Using cached Rtree-1.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (543 kB)
Using cached smplx-0.1.28-py3-none-any.whl (29 kB)
Using cached astropy_iers_data-0.2024.9.16.0.32.21-py3-none-any.whl (1.9 MB)
Using cached line_profiler-4.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (748 kB)
Using cached platformdirs-4.3.3-py3-none-any.whl (18 kB)
Using cached pyerfa-2.0.1.4-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (738 kB)
Using cached vtk-9.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (92.1 MB)
Building wheels for collected packages: pickle5
  Building wheel for pickle5 (setup.py) ... error
  <font color="#C01C28"><b>error</b></font>: <b>subprocess-exited-with-error</b>

  <font color="#C01C28">×</font> <font color="#26A269">python setup.py bdist_wheel</font> did not run successfully.
  <font color="#C01C28">│</font> exit code: <font color="#2AA1B3"><b>1</b></font>
  <font color="#C01C28">╰─&gt;</font> <font color="#C01C28">[96 lines of output]</font>
  <font color="#C01C28">   </font> running bdist_wheel
  <font color="#C01C28">   </font> running build
  <font color="#C01C28">   </font> running build_py
  <font color="#C01C28">   </font> creating build
  <font color="#C01C28">   </font> creating build/lib.linux-x86_64-cpython-311
  <font color="#C01C28">   </font> creating build/lib.linux-x86_64-cpython-311/pickle5
  <font color="#C01C28">   </font> copying pickle5/pickle.py -&gt; build/lib.linux-x86_64-cpython-311/pickle5
  <font color="#C01C28">   </font> copying pickle5/pickletools.py -&gt; build/lib.linux-x86_64-cpython-311/pickle5
  <font color="#C01C28">   </font> copying pickle5/__init__.py -&gt; build/lib.linux-x86_64-cpython-311/pickle5
  <font color="#C01C28">   </font> creating build/lib.linux-x86_64-cpython-311/pickle5/test
  <font color="#C01C28">   </font> copying pickle5/test/pickletester.py -&gt; build/lib.linux-x86_64-cpython-311/pickle5/test
  <font color="#C01C28">   </font> copying pickle5/test/test_picklebuffer.py -&gt; build/lib.linux-x86_64-cpython-311/pickle5/test
  <font color="#C01C28">   </font> copying pickle5/test/__init__.py -&gt; build/lib.linux-x86_64-cpython-311/pickle5/test
  <font color="#C01C28">   </font> copying pickle5/test/test_pickle.py -&gt; build/lib.linux-x86_64-cpython-311/pickle5/test
  <font color="#C01C28">   </font> running build_ext
  <font color="#C01C28">   </font> building &apos;pickle5._pickle&apos; extension
  <font color="#C01C28">   </font> creating build/temp.linux-x86_64-cpython-311
  <font color="#C01C28">   </font> creating build/temp.linux-x86_64-cpython-311/pickle5
  <font color="#C01C28">   </font> gcc -pthread -B /home/oem/miniconda3/envs/comfyui/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/oem/miniconda3/envs/comfyui/include -fPIC -O2 -isystem /home/oem/miniconda3/envs/comfyui/include -fPIC -I/home/oem/miniconda3/envs/comfyui/include/python3.11 -c pickle5/_pickle.c -o build/temp.linux-x86_64-cpython-311/pickle5/_pickle.o -std=c99
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘Pdata_New’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:464:19: error: lvalue required as left operand of assignment
  <font color="#C01C28">   </font>   464 |     Py_SIZE(self) = 0;
  <font color="#C01C28">   </font>       |                   ^
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘Pdata_clear’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:491:19: error: lvalue required as left operand of assignment
  <font color="#C01C28">   </font>   491 |     Py_SIZE(self) = clearto;
  <font color="#C01C28">   </font>       |                   ^
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘Pdata_pop’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:542:23: error: lvalue required as decrement operand
  <font color="#C01C28">   </font>   542 |     return self-&gt;data[--Py_SIZE(self)];
  <font color="#C01C28">   </font>       |                       ^~
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘Pdata_push’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:552:29: error: lvalue required as increment operand
  <font color="#C01C28">   </font>   552 |     self-&gt;data[Py_SIZE(self)++] = obj;
  <font color="#C01C28">   </font>       |                             ^~
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘Pdata_poptuple’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:582:19: error: lvalue required as left operand of assignment
  <font color="#C01C28">   </font>   582 |     Py_SIZE(self) = start;
  <font color="#C01C28">   </font>       |                   ^
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘Pdata_poplist’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:599:19: error: lvalue required as left operand of assignment
  <font color="#C01C28">   </font>   599 |     Py_SIZE(self) = start;
  <font color="#C01C28">   </font>       |                   ^
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘_Unpickler_ReadFromFile’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:1285:16: warning: implicit declaration of function ‘_PyObject_CallNoArg’; did you mean ‘PyObject_CallNoArgs’? [-Wimplicit-function-declaration]
  <font color="#C01C28">   </font>  1285 |         data = _PyObject_CallNoArg(self-&gt;readline);
  <font color="#C01C28">   </font>       |                ^~~~~~~~~~~~~~~~~~~
  <font color="#C01C28">   </font>       |                PyObject_CallNoArgs
  <font color="#C01C28">   </font> pickle5/_pickle.c:1285:14: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  <font color="#C01C28">   </font>  1285 |         data = _PyObject_CallNoArg(self-&gt;readline);
  <font color="#C01C28">   </font>       |              ^
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘whichmodule’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:1937:15: warning: implicit declaration of function ‘_PySys_GetObjectId’; did you mean ‘PySys_GetObject’? [-Wimplicit-function-declaration]
  <font color="#C01C28">   </font>  1937 |     modules = _PySys_GetObjectId(&amp;PyId_modules);
  <font color="#C01C28">   </font>       |               ^~~~~~~~~~~~~~~~~~
  <font color="#C01C28">   </font>       |               PySys_GetObject
  <font color="#C01C28">   </font> pickle5/_pickle.c:1937:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  <font color="#C01C28">   </font>  1937 |     modules = _PySys_GetObjectId(&amp;PyId_modules);
  <font color="#C01C28">   </font>       |             ^
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘save_float’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:2255:13: warning: implicit declaration of function ‘_PyFloat_Pack8’; did you mean ‘PyFloat_Pack8’? [-Wimplicit-function-declaration]
  <font color="#C01C28">   </font>  2255 |         if (_PyFloat_Pack8(x, (unsigned char *)&amp;pdata[1], 0) &lt; 0)
  <font color="#C01C28">   </font>       |             ^~~~~~~~~~~~~~
  <font color="#C01C28">   </font>       |             PyFloat_Pack8
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘save’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:4452:30: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  <font color="#C01C28">   </font>  4452 |                 reduce_value = _PyObject_CallNoArg(reduce_func);
  <font color="#C01C28">   </font>       |                              ^
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘load_binfloat’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:5428:9: warning: implicit declaration of function ‘_PyFloat_Unpack8’; did you mean ‘PyFloat_Unpack8’? [-Wimplicit-function-declaration]
  <font color="#C01C28">   </font>  5428 |     x = _PyFloat_Unpack8((unsigned char *)s, 0);
  <font color="#C01C28">   </font>       |         ^~~~~~~~~~~~~~~~
  <font color="#C01C28">   </font>       |         PyFloat_Unpack8
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘load_pop’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:6178:30: error: lvalue required as left operand of assignment
  <font color="#C01C28">   </font>  6178 |         Py_SIZE(self-&gt;stack) = len;
  <font color="#C01C28">   </font>       |                              ^
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘do_append’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:6535:42: error: lvalue required as left operand of assignment
  <font color="#C01C28">   </font>  6535 |                     Py_SIZE(self-&gt;stack) = x;
  <font color="#C01C28">   </font>       |                                          ^
  <font color="#C01C28">   </font> pickle5/_pickle.c:6541:34: error: lvalue required as left operand of assignment
  <font color="#C01C28">   </font>  6541 |             Py_SIZE(self-&gt;stack) = x;
  <font color="#C01C28">   </font>       |                                  ^
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘load_additems’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:6663:38: error: lvalue required as left operand of assignment
  <font color="#C01C28">   </font>  6663 |                 Py_SIZE(self-&gt;stack) = mark;
  <font color="#C01C28">   </font>       |                                      ^
  <font color="#C01C28">   </font> pickle5/_pickle.c:6668:30: error: lvalue required as left operand of assignment
  <font color="#C01C28">   </font>  6668 |         Py_SIZE(self-&gt;stack) = mark;
  <font color="#C01C28">   </font>       |                              ^
  <font color="#C01C28">   </font> pickle5/_pickle.c: In function ‘Pdata_pop’:
  <font color="#C01C28">   </font> pickle5/_pickle.c:543:1: warning: control reaches end of non-void function [-Wreturn-type]
  <font color="#C01C28">   </font>   543 | }
  <font color="#C01C28">   </font>       | ^
  <font color="#C01C28">   </font> error: command &apos;/usr/bin/gcc&apos; failed with exit code 1
  <font color="#C01C28">   </font> <font color="#C01C28">[end of output]</font>

  <font color="#A347BA"><b>note</b></font>: This error originates from a subprocess, and is likely not a problem with pip.
<font color="#C01C28">  ERROR: Failed building wheel for pickle5</font>
  Running setup.py clean for pickle5
Failed to build pickle5
<font color="#C01C28">ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pickle5)</font>
</pre>
hjrPhoebus commented 1 month ago

It seems that I can use the origin repo url to install mmhuman3d. We will recheck the environment with other machines and give the feedback. Thanks!

nitinmukesh commented 1 month ago

Thank you @johndpope