-
Notifications
You must be signed in to change notification settings - Fork 157
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
no such option: --install-option make: *** [Makefile:7:all] 错误 2 #99
Comments
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 . addict 2.4.0
!!
!!
!!
!!
!!
!! × python setup.py bdist_wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. This is -- a caller that pip uses to run setup.py- It imports setuptools before invoking setup.py, to enable projects that directlyimport from
|
replace --install-option with --config-settings in line 7 of Makefile for the newer versions of pip. |
it works! thanks |
Still an issue for me even after replacing --install-option with --config-settings |
So am I,did you solve this problem? |
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: ***@***.***>
|
So muck thank, it works for me. |
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++ |
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 |
Try it with appropriate text input. You might type incorrectly. There is no colon after the line. |
Useful! |
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. |
Thank you so much, it works! |
(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/TotalSelfScan-main/mesh-master$ BOOST_INCLUDE_DIRS=/path/to/boost/include make all正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
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:
----- [ 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
The text was updated successfully, but these errors were encountered: