Skip to content

Commit dc542a3

Browse files
committed
Adding missing extras install when wheel is being used to install Open3D
1 parent 71fe6dc commit dc542a3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ jobs:
382382
$PIP_PKG_NAME=(Get-ChildItem open3d*-$py_tag-*.whl).Name
383383
}
384384
echo "Installing Open3D wheel $PIP_PKG_NAME in virtual environment..."
385-
python -m pip install "$PIP_PKG_NAME"
385+
python -m pip install "$PIP_PKG_NAME[gui,ml]"
386386
python -c "import open3d; print('Imported:', open3d)"
387387
python -c "import open3d; print('CUDA enabled: ', open3d.core.cuda.is_available())"
388388

cpp/pybind/make_install_pip_package.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# it is guaranteed that there is only one wheel in ${PYTHON_PACKAGE_DST_DIR}/pip_package/*.whl
66
file(GLOB WHEEL_FILE "${PYTHON_PACKAGE_DST_DIR}/pip_package/*.whl")
77
execute_process(COMMAND ${Python3_EXECUTABLE} -m pip uninstall open3d --yes)
8-
execute_process(COMMAND ${Python3_EXECUTABLE} -m pip install ${WHEEL_FILE} -U)
8+
execute_process(COMMAND ${Python3_EXECUTABLE} -m pip install "${WHEEL_FILE}[gui,ml]" -U)

util/ci_utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ test_wheel() {
259259
echo -n "Using pip: "
260260
python -m pip --version
261261
echo "Installing Open3D wheel $wheel_path in virtual environment..."
262-
python -m pip install "$wheel_path"
262+
python -m pip install "${wheel_path}[gui,ml]"
263263
python -c "import open3d; print('Installed:', open3d)"
264264
python -c "import open3d; print('CUDA enabled: ', open3d.core.cuda.is_available())"
265265
echo

0 commit comments

Comments
 (0)