Skip to content

Conversation

@rxba
Copy link
Contributor

@rxba rxba commented Jul 17, 2024

Motivation and Context

Release of numpy==2.0.0 causes many Open3D features to segfault, which I saw will be fixed with the pybind update in #6874 .
Due to only requiring numpy>=1.18.0 in the Open3D<=0.18.0 releases, new Open3D installs will also install numpy==2.0.0, and thus break a large part of the functionality.
I think it's important to communicate this to users, although I'm unsure if this is the right place and way to do so, especially since this documentation will also only update for the next release of Open3D.
I hope this feedback is helpful, thank you!

Description

Add warning about numpy versions to the "Getting Started" documentation.

@ssheorey
Copy link
Member

Hi @rxba the current requirements.txt lists (merged a few days ago):

numpy>=1.18.0,<2.0.0

If you install the latest devel wheels (from github releases), pip will install numpy 1.x. If numpy 2 is installed, pip will complain.

@rxba
Copy link
Contributor Author

rxba commented Jul 18, 2024

Hey @ssheorey , I'm aware of this change. My point was that the majority of users will install a previous release instead of the current devel wheels, and thus most likely end up with a non-functioning version of Open3D without knowing it and without much feedback as to why their code is not working, due to the segfaults.

If you feel like this is a non-issue, feel free to close this PR.
Thank you for your work on this great library!

@ssheorey
Copy link
Member

Makes sense. Thanks for the PR!

Slight change to numpy v2 warning to indicate latest devel version supports it.
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

Successfully merging this pull request may close these issues.

2 participants