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

Could not install Open3D through pip #7124

Open
3 tasks done
LHucass opened this issue Jan 3, 2025 · 4 comments
Open
3 tasks done

Could not install Open3D through pip #7124

LHucass opened this issue Jan 3, 2025 · 4 comments

Comments

@LHucass
Copy link

LHucass commented Jan 3, 2025

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

@dancergraham
Copy link
Contributor

dancergraham commented Jan 6, 2025

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/

@LHucass
Copy link
Author

LHucass commented Jan 6, 2025

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

@Stee-T
Copy link

Stee-T commented Jan 6, 2025

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 #6717 but that part isn't merged in the release yet apparently: #7036, so it's "normal" that it doesn't work for 3.12 yet

@ssheorey
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants