Skip to content

python version isssue in building open3d from source #6469

Open
@Gopi-GK02

Description

@Gopi-GK02

Checklist

Steps to reproduce the issue

I am trying to install the open3d from source.
Ran into issues with python version during build.

Error message

-- CMAKE_BUILD_TYPE is set to Release.
-- Downloading third-party dependencies to /home/user/Gopi/Open3D/3rdparty_downloads
CMake Deprecation Warning at CMakeLists.txt:189 (cmake_policy):
  The OLD behavior for policy CMP0072 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Open3D 0.17.0+61671310a
-- Could NOT find Python3 (missing: Development Development.Module Development.Embed) (found suitable version "3.9.5", minimum required is "3.6")
CMake Error at CMakeLists.txt:333 (message):
  BUILD_PYTHON_MODULE=ON requires Python >= 3.6.  Please ensure it is in
  PATH.


-- Configuring incomplete, errors occurred!

Open3D, Python and System information

- Operating system: Ubuntu 20
- Python version: Python 3.8 
- Cmake version: 3.27
- System architecture: jetson 
- Is this a remote workstation?:no
- How did you install Open3D?:build from source
- Compiler version (if built from source): gcc 9.4.0

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    build/installBuild or installation issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions