Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

Could not install Open3D through pip

Open LHucass opened this issue 1 year ago • 5 comments

Checklist

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

LHucass avatar Jan 03 '25 02:01 LHucass

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/

dancergraham avatar Jan 06 '25 09:01 dancergraham

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/

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

LHucass avatar Jan 06 '25 16:01 LHucass

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

Stee-T avatar Jan 06 '25 20:01 Stee-T

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

ssheorey avatar Jan 10 '25 23:01 ssheorey