Cannot install open3d on python=3.9, 3.10
- Dominant language
- C++
- Stars
- 14k
- Forks
- 2.6k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 6
Description
### Checklist
- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch).
### Steps to reproduce the issue
# Installed in conda env
conda create --name open3d python=3.9
conda activate open3d
python -m pip install --upgrade pip
pip3 install open3d
### Error message
```shell
ERROR: Could not find a version that satisfies the requirement open3d (from versions: none)
ERROR: No matching distribution found for open3d
```
### Open3D, Python and System information
```markdown
- Operating system: NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
- Python version: Python 3.9 / output from `import sys; print(sys.version)`
- PIP version: pip 23.3.1(latest)
- System architecture: x86
- Is this a remote workstation?: yes
- How did you install Open3D?: pip
```
### Additional information
The Open3d installation using pip install open3d works fine when I install it on conda with python=3.7
But for some reason it does not work with python=3.9.
I need to use 3.9 as I have some other packages that needs 3.9 version
I tried installing it with pip install open3d-python
It gets installed but when I tried
import open3d
I get the following error:
importerror: /home/c/cg495/.conda/envs/open3d/lib/python3.9/site-packages/open3d/linux/open3d.so: undefined symbol: _py_zerostruct
Tried to build from source too: pip install -U --trusted-host www.open3d.org -f http://www.open3d.org/docs/latest/getting_started.html open3d
Got the error:
Looking in links: http://www.open3d.org/docs/latest/getting_started.html
ERROR: Could not find a version that satisfies the requirement open3d (from versions: devel-darwin-x86_64-0.17.0+a2401d0, devel-linux-x86_64-pre-cxx11-abi-cuda-0.17.0+a2401d0, devel-linux-x86_64-pre-cxx11-abi-0.17.0+a2401d0, devel-linux-x86_64-cxx11-abi-cuda-0.17.0+a2401d0, devel-linux-x86_64-cxx11-abi-0.17.0+a2401d0, devel-windows-amd64-0.17.0+a2401d0-dbg, devel-windows-amd64-0.17.0+a2401d0)
ERROR: No matching distribution found for open3d
---------------------
pip install open3d-0.17.0+a2401d0-cp39-cp39-manylinux_2_27_x86_64.whl
ERROR: open3d-0.17.0+a2401d0-cp39-cp39-manylinux_2_27_x86_64.whl is not a supported wheel on this platform.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.