isl-org / Open3D

Open3D: A Modern Library for 3D Data Processing
http://www.open3d.org
Other
11.22k stars 2.28k forks source link

Open3D couldn't install in Conda environment with pip #4630

Open ichsan2895 opened 2 years ago

ichsan2895 commented 2 years ago

Checklist

Describe the issue

It failed to import

import open3d as o3d

I installed open3d with pip install open3d==0.14.1 in conda environment with jupyter lab (version 3.1.18)

Steps to reproduce the bug

import open3d as o3d

The jupyter lab kernel will die

Then I am back to previous version (open3d==0.13.0), it works

import open3d as o3d
print(o3d.__version__)
**Jupyter environment detected. Enabling Open3D WebVisualizer.
[Open3D INFO] WebRTC GUI backend enabled.
[Open3D INFO] WebRTCWindowSystem: HTTP handshake server disabled.
0.13.0**

Error message

Dead Kernel, it was forced to restart the jupyter lab kernel. It also dead with jupyter notebook.

Expected behavior

Open3D 0.14.1 run as smooth as Open3D 0.13.0

Open3D, Python and System information

- Operating system: MXLinux 19.4
- Python version: 3.7.10
- Open3D version: 0.14.1
- System type: x84
- Is this remote workstation?: no
- How did you install Open3D?: pip

Additional information

>>> conda info
active environment : coastsat
active env location : /media/ichsan/SAMPINGAN/Anaconda3_Linux/envs/coastsat
shell level : 2
user config file : /home/ichsan/.condarc
populated config files : /home/ichsan/.condarc
conda version : 4.10.3
conda-build version : 3.21.4
python version : 3.7.10.final.0
virtual packages : __linux=5.10.0=0
                   __glibc=2.28=0
                   __unix=0=0
                   __archspec=1=x86_64
base environment : /media/ichsan/SAMPINGAN/Anaconda3_Linux  (writable)
conda av data dir : /media/ichsan/SAMPINGAN/Anaconda3_Linux/etc/conda
conda av metadata url : None
channel URLs :  https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
package cache : /media/ichsan/SAMPINGAN/Anaconda3_Linux/pkgs
                          /home/ichsan/.conda/pkgs
envs directories : /media/ichsan/SAMPINGAN/Anaconda3_Linux/envs
                          /home/ichsan/.conda/envs
platform : linux-64
user-agent : conda/4.10.3 requests/2.26.0 CPython/3.7.10 Linux/5.10.0-5mx-amd64 debian/10 glibc/2.28
UID:GID : 1000:1000
netrc file : None
offline mode : False
yxlao commented 2 years ago

This is not about the installation. This is about Jupyter lab. Try from the terminal directly, does:

python -c "import open3d"

work for you?