Could not install Open3D through pip
Checklist
- [X] I have searched for similar issues.
- [X] For Python issues, I have tested with the latest development wheel.
- [X] I have checked the release documentation and the latest documentation (for
mainbranch).
Steps to reproduce the issue
I generated a new python environment with python 3.11. And due to the other packages I used, I could not downgrade the Python version.
I have searched that the package could work in Python 3.11 with newest version of 0.18.
But when I used pip to install open3d, the bug happened.
I have downloaded the whl file and it still didn't work
I used pkginfo to find the requirements of the whl and I found that the requirements of python is 3.6, which caused the problem.
Error message
pip install open3d
ERROR: Could not find a version that satisfies the requirement open3d (from versions: none)
ERROR: No matching distribution found for open3d
$ pkginfo -f requires_dist './open3d-0.18.0-cp311-cp311-manylinux_2_27_x86_64.whl'
requires_dist: ['numpy (>=1.18.0)', 'dash (>=2.6.0)', 'werkzeug (>=2.2.3)', 'nbformat (>=5.7.0)', 'configargparse', 'ipywidgets (>=8.0.4)', 'addict', 'pillow (>=9.3.0)', 'matplotlib (>=3)', 'numpy (>1.18)', 'pandas (>=1.0)', 'pyyaml (>=5.4.1)', 'scikit-learn (>=0.21)', 'tqdm', 'pyquaternion', 'pywinpty (==2.0.2) ; sys_platform == "win32" and python_version == "3.6"']
Open3D, Python and System information
- Operating system: Red Hat , kernel version is 3.10.0-1160.25.1.el7_lustre.x86_64
- Python version: Python 3.11
- Open3D version: 0.18.0
- System architecture: x86
- Is this a remote workstation?: yes
- How did you install Open3D?: pip
- Compiler version (if built from source): gcc version 4.8.5
Additional information
No response
Hello, you say you are using Python 3.11 but the error says python_version == "3.6"
Could you try activating the virtual environment then using python -m pip install open3d to ensure it is being installed in the correct environment ?
https://snarky.ca/why-you-should-use-python-m-pip/
Hello, you say you are using Python 3.11 but the error says
python_version == "3.6"Could you try activating the virtual environment then usingpython -m pip install open3dto ensure it is being installed in the correct environment ?https://snarky.ca/why-you-should-use-python-m-pip/
I have tried all of these solutions but it doesn't work.
I also downloaded the whl file and showed the requirements of this whl and I found that the requirement is Python 3.6, which will not work in the future version.
Andconda installworks
Hi! I'm having the same problem with pip, Python 3.12, Windows 11 (64bits).
the exact error is
ERROR: Could not find a version that satisfies the requirement open3d (from versions: none)
ERROR: No matching distribution found for open3d
EDIT: python 3.12 is officially supported since https://github.com/isl-org/Open3D/pull/6717 but that part isn't merged in the release yet apparently: https://github.com/isl-org/Open3D/issues/7036, so it's "normal" that it doesn't work for 3.12 yet
Hi @LHucass the requirement is valid only for Python 3.6 - it is unused for later Python versions. Can you try upgrading your pip version first? If that doesn't work, post the output of pip install -vvv open3d