Skip to content
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

need open3d for Python 3.11 #6510

Closed
3 tasks done
monajalal opened this issue Nov 27, 2023 · 5 comments
Closed
3 tasks done

need open3d for Python 3.11 #6510

monajalal opened this issue Nov 27, 2023 · 5 comments
Labels
build/install Build or installation issue

Comments

@monajalal
Copy link

monajalal commented Nov 27, 2023

Checklist

#6288

#5620

Steps to reproduce the issue

I first cloned Open3D by:

git clone https://github.com/isl-org/Open3D.git
cd Open3D

Then, I build Open3D (on Ubuntu 20.04, with CUDA 11.5) with:

mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_CUDA_MODULE=OFF -DUSE_BLAS=ON -DBUILD_WEBRTC=OFF ..
make -j$(nproc)
(new-pvnet) (base) mona@ada:~/new-pvnet/PVNet/Open3D/build$ cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_CUDA_MODULE=OFF -DUSE_BLAS=ON -DBUILD_WEBRTC=OFF ..
-- CMAKE_BUILD_TYPE is set to Release.
-- Downloading third-party dependencies to /home/mona/new-pvnet/PVNet/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+2a11e0e40
-- Fetching ISPC compiler
-- Building with detected instruction sets
-- Using ISPC instruction sets: avx512skx-i32x16
-- Using security hardening compiler flags: $<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler=-fstack-protector-strong,-Wformat,-Wformat-security>;$<$<COMPILE_LANGUAGE:CXX>:-fstack-protector-strong;-Wformat;-Wformat-security>
-- Using security hardening linker flags: $<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler=-Wl,-z,noexecstack,-Wl,-z,relro,-z,now,$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:-pie>,$<$<CONFIG:Release>:LINKER:--strip-debug>>;$<$<COMPILE_LANGUAGE:CXX>:-Wl,-z,noexecstack;-Wl,-z,relro,-z,now;$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:-pie>;$<$<CONFIG:Release>:LINKER:--strip-debug>>
-- Using security hardening compiler definitions: _FORTIFY_SOURCE=2
-- Using installed third-party library 3rdparty_threads 
-- Using installed third-party library 3rdparty_openmp 
-- Building with OpenMP
-- Using installed third-party library 3rdparty_x11 
-- Building library 3rdparty_glfw from source
-- Using X11 for window creation
-- Building third-party library JPEG from source
-- NASM assembler not found - libjpeg-turbo performance may suffer
-- libturbojpeg: WITH_CRT_DLL=OFF
-- pybind11 v2.11.1 
-- Using prebuilt third-party library Filament
-- GLIBC version 2.35-0 found: Using Open3D Filament binary.
-- Filament is located at /home/mona/new-pvnet/PVNet/Open3D/build/filament/src/ext_filament
-- Searching in for libc++ and libc++abi
-- Searching /usr/lib/llvm-15/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-14/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-13/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-12/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-11/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-10/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-9/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-8/lib for libc++ and libc++abi
-- Searching /usr/lib/llvm-7/lib for libc++ and libc++abi
CMake Error at 3rdparty/find_dependencies.cmake:1367 (message):
  Cannot find matching libc++ and libc++abi libraries with version >=7.
Call Stack (most recent call first):
  CMakeLists.txt:499 (include)


-- Configuring incomplete, errors occurred!
See also "/home/mona/new-pvnet/PVNet/Open3D/build/CMakeFiles/CMakeOutput.log".
See also "/home/mona/new-pvnet/PVNet/Open3D/build/CMakeFiles/CMakeError.log".

$ pip install open3d
ERROR: Could not find a version that satisfies the requirement open3d (from versions: none)
ERROR: No matching distribution found for open3d


$ pip --version
pip 23.3.1 from /home/mona/new-pvnet/PVNet/new-pvnet/lib/python3.11/site-packages/pip (python 3.11)

Error message

check above

Open3D, Python and System information

- Operating system: Ubuntu 20.04 / macOS 10.15 / Windows 10 64-bit

(new-pvnet) (base) mona@ada:~$ uname -a
Linux ada 6.2.0-37-generic #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov  2 18:01:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux


- Python version: Python 3.8 / output from `import sys; print(sys.version)`

3.11

- Open3D version: output from python: `print(open3d.__version__)`

not installed 

- System architecture: x86 / arm64 / apple-silicon / jetson / rpi
(new-pvnet) (base) mona@ada:~$ lsb_release -a
LSB Version:	core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy


- Is this a remote workstation?: yes or no

no

- How did you install Open3D?: pip / conda / build from source

pip

- Compiler version (if built from source): gcc 7.5 / clang 7.0


(new-pvnet) (base) mona@ada:~$ gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(new-pvnet) (base) mona@ada:~$ clang --version
Ubuntu clang version 14.0.0-1ubuntu1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Additional information

(new-pvnet) (base) mona@ada:~$ pip list
Package Version


action-msgs 1.2.1
action-tutorials-interfaces 0.20.3
action-tutorials-py 0.20.3
actionlib-msgs 4.2.3
ament-cmake-test 1.3.5
ament-copyright 0.12.8
ament-cppcheck 0.12.8
ament-cpplint 0.12.8
ament-flake8 0.12.8
ament-index-python 1.4.0
ament-lint 0.12.8
ament-lint-cmake 0.12.8
ament-package 0.14.0
ament-pep257 0.12.8
ament-uncrustify 0.12.8
ament-xmllint 0.12.8
angles 1.15.0
asttokens 2.4.1
builtin-interfaces 1.2.1
certifi 2022.12.7
cffi 1.16.0
charset-normalizer 2.1.1
composition-interfaces 1.2.1
contourpy 1.2.0
cv-bridge 3.2.1
cycler 0.12.1
Cython 0.29.24
decorator 5.1.1
demo-nodes-py 0.20.3
diagnostic-msgs 4.2.3
diagnostic-updater 3.1.2
domain-coordinator 0.10.0
example-interfaces 0.9.3
examples-rclpy-executors 0.15.1
examples-rclpy-minimal-action-client 0.15.1
examples-rclpy-minimal-action-server 0.15.1
examples-rclpy-minimal-client 0.15.1
examples-rclpy-minimal-publisher 0.15.1
examples-rclpy-minimal-service 0.15.1
examples-rclpy-minimal-subscriber 0.15.1
executing 2.0.1
filelock 3.9.0
fonttools 4.45.1
fsspec 2023.4.0
geometry-msgs 4.2.3
idna 3.4
image-geometry 3.2.1
imageio 2.33.0
interactive-markers 2.3.2
ipdb 0.13.13
ipython 8.18.1
jedi 0.19.1
Jinja2 3.1.2
kiwisolver 1.4.5
laser-geometry 2.4.0
launch 1.0.4
launch-ros 0.19.6
launch-testing 1.0.4
launch-testing-ros 0.19.6
launch-xml 1.0.4
launch-yaml 1.0.4
lazy_loader 0.3
lifecycle-msgs 1.2.1
logging-demo 0.20.3
map-msgs 2.1.0
MarkupSafe 2.1.3
matplotlib 3.4.3
matplotlib-inline 0.1.6
message-filters 4.3.3
mpmath 1.3.0
nav-msgs 4.2.3
networkx 3.2.1
numpy 1.26.1
opencv-python 4.6.0.66
osrf-pycommon 2.0.2
packaging 23.2
parso 0.8.3
pcl-msgs 1.0.0
pendulum-msgs 0.20.3
pexpect 4.9.0
Pillow 10.1.0
pip 23.3.1
plyfile 0.7.4
progressbar 2.5
prompt-toolkit 3.0.41
protobuf 4.25.1
ptyprocess 0.7.0
pure-eval 0.2.2
pyassimp 5.2.5
pycocotools 2.0.7
pycparser 2.21
Pygments 2.17.2
PyOpenGL 3.1.7
pyparsing 3.1.1
python-dateutil 2.8.2
python-qt-binding 1.1.1
PyYAML 6.0.1
qt-dotgraph 2.2.2
qt-gui 2.2.2
qt-gui-cpp 2.2.2
qt-gui-py-common 2.2.2
quality-of-service-demo-py 0.20.3
rcl-interfaces 1.2.1
rclpy 3.3.10
rcutils 5.1.3
realsense2-camera-msgs 4.54.1
requests 2.28.1
resource-retriever 3.1.1
rmw-dds-common 1.6.0
ros2action 0.18.7
ros2bag 0.15.8
ros2cli 0.18.7
ros2component 0.18.7
ros2doctor 0.18.7
ros2interface 0.18.7
ros2launch 0.19.6
ros2lifecycle 0.18.7
ros2multicast 0.18.7
ros2node 0.18.7
ros2param 0.18.7
ros2pkg 0.18.7
ros2run 0.18.7
ros2service 0.18.7
ros2topic 0.18.7
rosbag2-interfaces 0.15.8
rosbag2-py 0.15.8
rosgraph-msgs 1.2.1
rosidl-adapter 3.1.5
rosidl-cli 3.1.5
rosidl-cmake 3.1.5
rosidl-generator-c 3.1.5
rosidl-generator-cpp 3.1.5
rosidl-generator-py 0.14.4
rosidl-parser 3.1.5
rosidl-runtime-py 0.9.3
rosidl-typesupport-c 2.0.1
rosidl-typesupport-cpp 2.0.1
rosidl-typesupport-fastrtps-c 2.2.1
rosidl-typesupport-fastrtps-cpp 2.2.1
rosidl-typesupport-introspection-c 3.1.5
rosidl-typesupport-introspection-cpp 3.1.5
rpyutils 0.2.1
rqt-action 2.0.1
rqt-bag 1.1.4
rqt-bag-plugins 1.1.4
rqt-console 2.0.2
rqt-graph 1.3.0
rqt-gui 1.1.5
rqt-gui-py 1.1.5
rqt-msg 1.2.0
rqt-plot 1.1.2
rqt-publisher 1.5.0
rqt-py-common 1.1.5
rqt-py-console 1.0.2
rqt-reconfigure 1.1.1
rqt-service-caller 1.0.5
rqt-shell 1.0.2
rqt-srv 1.0.3
rqt-topic 1.5.0
scikit-image 0.22.0
scipy 1.11.4
sensor-msgs 4.2.3
sensor-msgs-py 4.2.3
setuptools 65.5.0
shape-msgs 4.2.3
six 1.16.0
sros2 0.10.4
stack-data 0.6.3
statistics-msgs 1.2.1
std-msgs 4.2.3
std-srvs 4.2.3
stereo-msgs 4.2.3
sympy 1.12
teleop-twist-keyboard 2.3.2
tensorboardX 2.6.2.2
tf2-geometry-msgs 0.25.4
tf2-kdl 0.25.4
tf2-msgs 0.25.4
tf2-py 0.25.4
tf2-ros-py 0.25.4
tf2-tools 0.25.4
tifffile 2023.9.26
topic-monitor 0.20.3
torch 2.1.1+cu118
torchaudio 2.1.1+cu118
torchvision 0.16.1+cu118
tqdm 4.62.3
traitlets 5.14.0
trajectory-msgs 4.2.3
triton 2.1.0
turtlesim 1.4.2
typing_extensions 4.4.0
unique-identifier-msgs 2.2.1
urllib3 1.26.13
visualization-msgs 4.2.3
wcwidth 0.2.12
yacs 0.1.8

@monajalal monajalal added the build/install Build or installation issue label Nov 27, 2023
@johnthagen
Copy link
Contributor

Related, but for installs from PyPI (rather than building from source), support has been added but we are waiting for an 0.18 release

@saurabheights
Copy link
Contributor

@johnthagen
Copy link
Contributor

@saurabheights Do you happen to know when the 0.18 release is planned for?

@saurabheights
Copy link
Contributor

@johnthagen No. Unfortunately, it looks like the core team of Open3D is only working part time and thus these things get a bit delayed. BTW, I would say just install master version. No need to wait for a release.

@monajalal
Copy link
Author

So, I ended up using Python 3.10.13 which has Open3d supported so I am good for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build/install Build or installation issue
Projects
None yet
Development

No branches or pull requests

3 participants