MPI-IS / mesh

MPI-IS Mesh Processing Library
Other
669 stars 153 forks source link

no such option: --install-option make: *** [Makefile:7:all] 错误 2 #99

Open 2601705041 opened 8 months ago

2601705041 commented 8 months ago

(scan) j222@222:~/TotalSelfScan-main/mesh-master$ BOOST_INCLUDE_DIRS=/path/to/boost/include make all ----- [ mesh_package ] Installing with the interpreter /home/j222/anaconda/envs/scan/bin/python (version 3.8.18) Requirement already satisfied: setuptools in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (69.1.1) Requirement already satisfied: numpy in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (1.24.4) Requirement already satisfied: matplotlib in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (3.7.5) Requirement already satisfied: scipy in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 4)) (1.10.1) Requirement already satisfied: pyopengl in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (3.1.7) Requirement already satisfied: pillow in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 6)) (10.2.0) Requirement already satisfied: pyzmq in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 7)) (25.1.2) Requirement already satisfied: pyyaml in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 8)) (6.0.1) Requirement already satisfied: opencv-python in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 9)) (4.9.0.80) Requirement already satisfied: contourpy>=1.0.1 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (1.1.1) Requirement already satisfied: cycler>=0.10 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (4.45.0) Requirement already satisfied: kiwisolver>=1.0.1 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (1.4.5) Requirement already satisfied: packaging>=20.0 in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (23.2) Requirement already satisfied: pyparsing>=2.3.1 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (3.1.1) Requirement already satisfied: python-dateutil>=2.7 in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (2.9.0.post0) Requirement already satisfied: importlib-resources>=3.2.0 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (6.1.1) Requirement already satisfied: zipp>=3.1.0 in /home/j222/.local/lib/python3.8/site-packages (from importlib-resources>=3.2.0->matplotlib->-r requirements.txt (line 3)) (3.17.0) Requirement already satisfied: six>=1.5 in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from python-dateutil>=2.7->matplotlib->-r requirements.txt (line 3)) (1.16.0) Package Version


addict 2.4.0 Brotli 1.0.9 certifi 2024.2.2 charset-normalizer 2.0.4 contourpy 1.1.1 cycler 0.12.1 fastrlock 0.8.2 fonttools 4.45.0 fvcore 0.1.5.post20221221 idna 3.4 importlib-metadata 6.8.0 importlib-resources 6.1.1 iopath 0.1.10 joblib 1.3.2 kiwisolver 1.4.5 matplotlib 3.7.5 mkl-fft 1.3.8 mkl-random 1.2.4 mkl-service 2.4.0 mmcv-full 1.7.1 numpy 1.24.4 opencv-python 4.9.0.80 openmesh 1.2.1 packaging 23.2 pbr 6.0.0 pillow 10.2.0 pip 24.0 platformdirs 4.0.0 portalocker 2.8.2 pycocotools 2.0.7 PyOpenGL 3.1.7 pyparsing 3.1.1 PySocks 1.7.1 python-dateutil 2.9.0.post0 pytorch3d 0.7.6 PyYAML 6.0.1 pyzmq 25.1.2 requests 2.31.0 Rtree 1.1.0 scikit-learn 1.3.2 scipy 1.10.1 setuptools 69.1.1 shapely 2.0.2 six 1.16.0 tabulate 0.9.0 termcolor 2.3.0 terminaltables 3.1.10 threadpoolctl 3.3.0 tomli 2.0.1 torch 1.11.0 torchaudio 0.11.0 torchvision 0.12.0 tqdm 4.66.2 trimesh 4.1.7 typing_extensions 4.8.0 urllib3 2.1.0 wheel 0.37.1 yacs 0.1.8 yapf 0.40.2 zipp 3.17.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] 错误 2 (scan) j222@222:~/TotalSelfScan-main/mesh-master$ sudo apt-get install libboost-dev 正在读取软件包列表... 完成 正在分析软件包的依赖关系树
正在读取状态信息... 完成
libboost-dev 已经是最新版 (1.71.0.0ubuntu2)。 下列软件包是自动安装的并且现在不需要了: cuda-command-line-tools-11-0 cuda-compiler-11-0 cuda-cudart-11-0 cuda-cudart-dev-11-0 cuda-cuobjdump-11-0 cuda-cupti-11-0 cuda-cupti-dev-11-0 cuda-documentation-11-0 cuda-driver-dev-11-0 cuda-gdb-11-0 cuda-libraries-11-0 cuda-libraries-dev-11-0 cuda-memcheck-11-0 cuda-nsight-11-0 cuda-nsight-compute-11-0 cuda-nsight-systems-11-0 cuda-nvcc-11-0 cuda-nvdisasm-11-0 cuda-nvml-dev-11-0 cuda-nvprof-11-0 cuda-nvprune-11-0 cuda-nvrtc-11-0 cuda-nvrtc-dev-11-0 cuda-nvtx-11-0 cuda-nvvp-11-0 cuda-samples-11-0 cuda-sanitizer-11-0 cuda-toolkit-11-0 cuda-tools-11-0 cuda-visual-tools-11-0 freeglut3 freeglut3-dev javascript-common libcublas-11-0 libcublas-dev-11-0 libcufft-11-0 libcufft-dev-11-0 libcurand-11-0 libcurand-dev-11-0 libcusolver-11-0 libcusolver-dev-11-0 libcusparse-11-0 libcusparse-dev-11-0 libglu1-mesa-dev libice-dev libjs-jquery libnpp-11-0 libnpp-dev-11-0 libnvjpeg-11-0 libnvjpeg-dev-11-0 libsm-dev libxi-dev libxmu-dev libxmu-headers libxt-dev node-html5shiv nsight-compute nsight-systems-2020.3.2 x11proto-input-dev 使用'sudo apt autoremove'来卸载它(它们)。 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 7 个软件包未被升级。 (scan) j222@222:~/TotalSelfScan-main/mesh-master$ BOOST_INCLUDE_DIRS=/path/to/boost/include make all ----- [ mesh_package ] Installing with the interpreter /home/j222/anaconda/envs/scan/bin/python (version 3.8.18) Requirement already satisfied: setuptools in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (69.1.1) Requirement already satisfied: numpy in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (1.24.4) Requirement already satisfied: matplotlib in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (3.7.5) Requirement already satisfied: scipy in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 4)) (1.10.1) Requirement already satisfied: pyopengl in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (3.1.7) Requirement already satisfied: pillow in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 6)) (10.2.0) Requirement already satisfied: pyzmq in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 7)) (25.1.2) Requirement already satisfied: pyyaml in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 8)) (6.0.1) Requirement already satisfied: opencv-python in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 9)) (4.9.0.80) Requirement already satisfied: contourpy>=1.0.1 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (1.1.1) Requirement already satisfied: cycler>=0.10 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (4.45.0) Requirement already satisfied: kiwisolver>=1.0.1 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (1.4.5) Requirement already satisfied: packaging>=20.0 in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (23.2) Requirement already satisfied: pyparsing>=2.3.1 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (3.1.1) Requirement already satisfied: python-dateutil>=2.7 in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (2.9.0.post0) Requirement already satisfied: importlib-resources>=3.2.0 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (6.1.1) Requirement already satisfied: zipp>=3.1.0 in /home/j222/.local/lib/python3.8/site-packages (from importlib-resources>=3.2.0->matplotlib->-r requirements.txt (line 3)) (3.17.0) Requirement already satisfied: six>=1.5 in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from python-dateutil>=2.7->matplotlib->-r requirements.txt (line 3)) (1.16.0) Package Version


addict 2.4.0 Brotli 1.0.9 certifi 2024.2.2 charset-normalizer 2.0.4 contourpy 1.1.1 cycler 0.12.1 fastrlock 0.8.2 fonttools 4.45.0 fvcore 0.1.5.post20221221 idna 3.4 importlib-metadata 6.8.0 importlib-resources 6.1.1 iopath 0.1.10 joblib 1.3.2 kiwisolver 1.4.5 matplotlib 3.7.5 mkl-fft 1.3.8 mkl-random 1.2.4 mkl-service 2.4.0 mmcv-full 1.7.1 numpy 1.24.4 opencv-python 4.9.0.80 openmesh 1.2.1 packaging 23.2 pbr 6.0.0 pillow 10.2.0 pip 24.0 platformdirs 4.0.0 portalocker 2.8.2 pycocotools 2.0.7 PyOpenGL 3.1.7 pyparsing 3.1.1 PySocks 1.7.1 python-dateutil 2.9.0.post0 pytorch3d 0.7.6 PyYAML 6.0.1 pyzmq 25.1.2 requests 2.31.0 Rtree 1.1.0 scikit-learn 1.3.2 scipy 1.10.1 setuptools 69.1.1 shapely 2.0.2 six 1.16.0 tabulate 0.9.0 termcolor 2.3.0 terminaltables 3.1.10 threadpoolctl 3.3.0 tomli 2.0.1 torch 1.11.0 torchaudio 0.11.0 torchvision 0.12.0 tqdm 4.66.2 trimesh 4.1.7 typing_extensions 4.8.0 urllib3 2.1.0 wheel 0.37.1 yacs 0.1.8 yapf 0.40.2 zipp 3.17.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] 错误 2

I have tried many ways,but it still can't work, i really need some help

2601705041 commented 8 months ago

i edit @pip install --no-deps --install-opts="--boost-location=$$BOOST_INCLUDE_DIRS" --verbose --no-cache-dir to @pip install --no-deps --verbose --no-cache-dir . here is the problem (scan) j222@222:~/TotalSelfScan-main/mesh-master$ BOOST_INCLUDE_DIRS=/path/to/boost/include make all ----- [ mesh_package ] Installing with the interpreter /home/j222/anaconda/envs/scan/bin/python (version 3.8.18) Requirement already satisfied: setuptools in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (69.1.1) Requirement already satisfied: numpy in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (1.24.4) Requirement already satisfied: matplotlib in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (3.7.5) Requirement already satisfied: scipy in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 4)) (1.10.1) Requirement already satisfied: pyopengl in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (3.1.7) Requirement already satisfied: pillow in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 6)) (10.2.0) Requirement already satisfied: pyzmq in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 7)) (25.1.2) Requirement already satisfied: pyyaml in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 8)) (6.0.1) Requirement already satisfied: opencv-python in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from -r requirements.txt (line 9)) (4.9.0.80) Requirement already satisfied: contourpy>=1.0.1 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (1.1.1) Requirement already satisfied: cycler>=0.10 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (4.45.0) Requirement already satisfied: kiwisolver>=1.0.1 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (1.4.5) Requirement already satisfied: packaging>=20.0 in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (23.2) Requirement already satisfied: pyparsing>=2.3.1 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (3.1.1) Requirement already satisfied: python-dateutil>=2.7 in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (2.9.0.post0) Requirement already satisfied: importlib-resources>=3.2.0 in /home/j222/.local/lib/python3.8/site-packages (from matplotlib->-r requirements.txt (line 3)) (6.1.1) Requirement already satisfied: zipp>=3.1.0 in /home/j222/.local/lib/python3.8/site-packages (from importlib-resources>=3.2.0->matplotlib->-r requirements.txt (line 3)) (3.17.0) Requirement already satisfied: six>=1.5 in /home/j222/anaconda/envs/scan/lib/python3.8/site-packages (from python-dateutil>=2.7->matplotlib->-r requirements.txt (line 3)) (1.16.0) Package Version


addict 2.4.0 Brotli 1.0.9 certifi 2024.2.2 charset-normalizer 2.0.4 contourpy 1.1.1 cycler 0.12.1 fastrlock 0.8.2 fonttools 4.45.0 fvcore 0.1.5.post20221221 idna 3.4 importlib-metadata 6.8.0 importlib-resources 6.1.1 iopath 0.1.10 joblib 1.3.2 kiwisolver 1.4.5 matplotlib 3.7.5 mkl-fft 1.3.8 mkl-random 1.2.4 mkl-service 2.4.0 mmcv-full 1.7.1 numpy 1.24.4 opencv-python 4.9.0.80 openmesh 1.2.1 packaging 23.2 pbr 6.0.0 pillow 10.2.0 pip 24.0 platformdirs 4.0.0 portalocker 2.8.2 pycocotools 2.0.7 PyOpenGL 3.1.7 pyparsing 3.1.1 PySocks 1.7.1 python-dateutil 2.9.0.post0 pytorch3d 0.7.6 PyYAML 6.0.1 pyzmq 25.1.2 requests 2.31.0 Rtree 1.1.0 scikit-learn 1.3.2 scipy 1.10.1 setuptools 69.1.1 shapely 2.0.2 six 1.16.0 tabulate 0.9.0 termcolor 2.3.0 terminaltables 3.1.10 threadpoolctl 3.3.0 tomli 2.0.1 torch 1.11.0 torchaudio 0.11.0 torchvision 0.12.0 tqdm 4.66.2 trimesh 4.1.7 typing_extensions 4.8.0 urllib3 2.1.0 wheel 0.37.1 yacs 0.1.8 yapf 0.40.2 zipp 3.17.0 Using pip 24.0 from /home/j222/anaconda/envs/scan/lib/python3.8/site-packages/pip (python 3.8) Processing /home/j222/TotalSelfScan-main/mesh-master Running command python setup.py egg_info [VERSION] read version is 0.4 running egg_info creating /tmp/pip-pip-egg-info-t9opfelo/psbody_mesh.egg-info writing /tmp/pip-pip-egg-info-t9opfelo/psbody_mesh.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-t9opfelo/psbody_mesh.egg-info/dependency_links.txt writing namespace_packages to /tmp/pip-pip-egg-info-t9opfelo/psbody_mesh.egg-info/namespace_packages.txt writing requirements to /tmp/pip-pip-egg-info-t9opfelo/psbody_mesh.egg-info/requires.txt writing top-level names to /tmp/pip-pip-egg-info-t9opfelo/psbody_mesh.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-t9opfelo/psbody_mesh.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-pip-egg-info-t9opfelo/psbody_mesh.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file '/tmp/pip-pip-egg-info-t9opfelo/psbody_mesh.egg-info/SOURCES.txt' /home/j222/anaconda/envs/scan/lib/python3.8/site-packages/setuptools/init.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!

      ********************************************************************************
      Requirements should be satisfied by a PEP 517 installer.
      If you are using pip, you can try `pip install --use-pep517`.
      ********************************************************************************

!! dist.fetch_build_eggs(dist.setup_requires) /home/j222/anaconda/envs/scan/lib/python3.8/site-packages/setuptools/dist.py:674: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. !!

      ********************************************************************************
      Please replace its usage with implicit namespaces (PEP 420).

      See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details.
      ********************************************************************************

!! ep.load()(self, ep.name, value) /home/j222/TotalSelfScan-main/mesh-master/setup.py:145: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!

      ********************************************************************************
      Please avoid running ``setup.py`` directly.
      Instead, use pypa/build, pypa/installer or other
      standards-based tools.

      See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
      ********************************************************************************

!! return _install.initialize_options(self) Preparing metadata (setup.py) ... done Building wheels for collected packages: psbody-mesh Running command python setup.py bdist_wheel [VERSION] read version is 0.4 /home/j222/anaconda/envs/scan/lib/python3.8/site-packages/setuptools/init.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!

      ********************************************************************************
      Requirements should be satisfied by a PEP 517 installer.
      If you are using pip, you can try `pip install --use-pep517`.
      ********************************************************************************

!! dist.fetch_build_eggs(dist.setup_requires) /home/j222/anaconda/envs/scan/lib/python3.8/site-packages/setuptools/dist.py:674: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. !!

      ********************************************************************************
      Please replace its usage with implicit namespaces (PEP 420).

      See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details.
      ********************************************************************************

!! ep.load()(self, ep.name, value) running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-38 creating build/lib.linux-x86_64-cpython-38/psbody copying psbody-mesh-namespace/init.py -> build/lib.linux-x86_64-cpython-38/psbody creating build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/meshviewer.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/arcball.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/fonts.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/mesh.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/version.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/lines.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/errors.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/landmarks.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/colors.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/init.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/sphere.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/texture.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/search.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/processing.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh copying mesh/utils.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh creating build/lib.linux-x86_64-cpython-38/psbody/mesh/topology copying mesh/topology/decimation.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/topology copying mesh/topology/init.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/topology copying mesh/topology/linear_mesh_transform.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/topology copying mesh/topology/connectivity.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/topology copying mesh/topology/subdivision.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/topology creating build/lib.linux-x86_64-cpython-38/psbody/mesh/geometry copying mesh/geometry/vert_normals.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/geometry copying mesh/geometry/triangle_area.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/geometry copying mesh/geometry/tri_normals.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/geometry copying mesh/geometry/init.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/geometry copying mesh/geometry/cross_product.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/geometry copying mesh/geometry/barycentric_coordinates_of_projection.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/geometry copying mesh/geometry/rodrigues.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/geometry creating build/lib.linux-x86_64-cpython-38/psbody/mesh/serialization copying mesh/serialization/init.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/serialization copying mesh/serialization/serialization.py -> build/lib.linux-x86_64-cpython-38/psbody/mesh/serialization running build_ext /home/j222/TotalSelfScan-main/mesh-master/setup.py:145: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!

      ********************************************************************************
      Please avoid running ``setup.py`` directly.
      Instead, use pypa/build, pypa/installer or other
      standards-based tools.

      See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
      ********************************************************************************

!! return _install.initialize_options(self) [CGAL] deflating cgal from "mesh/thirdparty/CGAL-4.7.tar.gz" to "/home/j222/TotalSelfScan-main/mesh-master/build/temp.linux-x86_64-cpython-38" building 'psbody.mesh.aabb_normals' extension creating build/temp.linux-x86_64-cpython-38/mesh creating build/temp.linux-x86_64-cpython-38/mesh/src /home/j222/anaconda/envs/scan/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/j222/anaconda/envs/scan/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/j222/anaconda/envs/scan/include -fPIC -DNDEBUG=1 -DCGAL_NDEBUG=1 -DMESH_CGAL_AVOID_COMPILED_VERSION=1 -DCGAL_HAS_NO_THREADS=1 -DCGAL_NO_AUTOLINK_CGAL=1 -Imesh/src -I/home/j222/anaconda/envs/scan/lib/python3.8/site-packages/numpy/core/include -I/home/j222/TotalSelfScan-main/mesh-master/build/temp.linux-x86_64-cpython-38/CGAL-4.7/include -I/home/j222/anaconda/envs/scan/include/python3.8 -c mesh/src/aabb_normals.cpp -o build/temp.linux-x86_64-cpython-38/mesh/src/aabb_normals.o -O3 -fopenmp cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ In file included from mesh/src/hijack_python_headers.hpp:17, from mesh/src/aabb_normals.cpp:3: /home/j222/anaconda/envs/scan/include/python3.8/Python.h:44:10: fatal error: crypt.h: No such file or directory 44 | #include | ^~~~~ compilation terminated. error: command '/home/j222/anaconda/envs/scan/bin/x86_64-conda-linux-gnu-cc' failed with exit code 1 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. full command: /home/j222/anaconda/envs/scan/bin/python -u -c ' exec(compile('"'"''"'"''"'"'

This is -- a caller that pip uses to run setup.py

#

- It imports setuptools before invoking setup.py, to enable projects that directly

import from distutils.core to work with newer packaging standards.

- It provides a clear error message when setuptools is not installed.

- It sets sys.argv[0] to the underlying setup.py, when invoking setup.py so

setuptools doesn'"'"'t think the script is -c. This avoids the following warning:

manifest_maker: standard file '"'"'-c'"'"' not found".

- It generates a shim setup.py, for handling setup.cfg-only projects.

import os, sys, tokenize

try: import setuptools except ImportError as error: print( "ERROR: Can not execute setup.py since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1)

file = %r sys.argv[0] = file

if os.path.exists(file): filename = file with tokenize.open(file) as f: setup_py_code = f.read() else: filename = "" setup_py_code = "from setuptools import setup; setup()"

exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'/home/j222/TotalSelfScan-main/mesh-master/setup.py'"'"',), "", "exec"))' bdistwheel -d /tmp/pip-wheel-a7udo1i cwd: /home/j222/TotalSelfScan-main/mesh-master/ Building wheel for psbody-mesh (setup.py) ... error ERROR: Failed building wheel for psbody-mesh Running setup.py clean for psbody-mesh Running command python setup.py clean [VERSION] read version is 0.4 /home/j222/anaconda/envs/scan/lib/python3.8/site-packages/setuptools/init.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!

      ********************************************************************************
      Requirements should be satisfied by a PEP 517 installer.
      If you are using pip, you can try `pip install --use-pep517`.
      ********************************************************************************

!! dist.fetch_build_eggs(dist.setup_requires) /home/j222/anaconda/envs/scan/lib/python3.8/site-packages/setuptools/dist.py:674: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. !!

      ********************************************************************************
      Please replace its usage with implicit namespaces (PEP 420).

      See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details.
      ********************************************************************************

!! 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] 错误 1

nessvan commented 8 months ago

replace --install-option with --config-settings in line 7 of Makefile for the newer versions of pip.

sxdl commented 8 months ago

replace --install-option with --config-settings in line 7 of Makefile for the newer versions of pip.

it works! thanks

Darrow8 commented 7 months ago

Still an issue for me even after replacing --install-option with --config-settings

YuRongHao2233 commented 7 months ago

Still an issue for me even after replacing --install-option with --config-settings

So am I,did you solve this problem?

2601705041 commented 7 months ago

still no

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年4月15日(星期一) 中午1:46 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [MPI-IS/mesh] no such option: --install-option make: *** [Makefile:7:all] 错误 2 (Issue #99)

Still an issue for me even after replacing --install-option with --config-settings

So am I,did you solve this problem?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ZhichaoTan commented 6 months ago

So muck thank, it works for me.

mamunctg commented 6 months ago

Still an issue for me even after replacing --install-option with --config-settings

if your OS is Ubuntu try these three lines, my system is working ................. the reason was to compile C++.

1)cmd line: sudo apt-get install g++ 2) Change line 7 in Makefile as pip install --no-deps --config-settings="--boost-location=$$BOOST_INCLUDE_DIRS" --verbose --no-cache-dir . 3)cmd line: BOOST_INCLUDE_DIRS=/usr/include make all

saqibnaziir commented 6 months ago

I got the following error after changing line 7 to "@pip install --no-deps --config-settings="--boost-location=$$BOOST_INCLUDE_DIRS" --verbose --no-cache-dir":

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

mamunctg commented 6 months ago

":

Try it with appropriate text input. You might type incorrectly. There is no colon after the line.

yangqinhui0423 commented 4 months ago

replace --install-option with --config-settings in line 7 of Makefile for the newer versions of pip.

Useful!

TuanTuanC commented 3 months ago

When I replaced --install-option with --config-settings as described above, it still failed. Then I checked that python was wrapped in requirements.txt, removed the @pip install --upgrade -r requirements.txt && pip list from the makefile, and ran make all again.

Emerylinux commented 3 weeks ago

replace --install-option with --config-settings in line 7 of Makefile for the newer versions of pip.

Thank you so much, it works!