isl-org / Open3D-ML

An extension of Open3D to address 3D Machine Learning tasks
Other
1.82k stars 313 forks source link

"Cannot use ml3d on Windows10"—Exception: Open3D was not built with PyTorch support! #623

Open TIOKOJCB opened 10 months ago

TIOKOJCB commented 10 months ago

Checklist

Steps to reproduce the issue

I first cloned Open3D-ML by:

git clone https://github.com/isl-org/Open3D-ML.git
cd Open3D-ML

Error message

Traceback (most recent call last):
  File "G:\graduate_design\open3d_code\PointCloudFunction.py", line 4, in <module>
    import open3d.ml.torch as ml3d
  File "D:\Users\hasee\anaconda3\envs\open3d_ML\lib\site-packages\open3d\ml\torch\__init__.py", line 15, in <module>
    raise Exception('Open3D was not built with PyTorch support!')
Exception: Open3D was not built with PyTorch support!

Open3D, Python and System information

- Operating system:  Windows 10 64-bit
- Python version: e.g. Python 3.9
- Open3D version: 0.17
- System type:  arm64
- Is this remote workstation?:  no
- How did you install Open3D?: conda
- Compiler version (if built from source): (e.g. gcc 7.5, clang 7.0)

Additional information

No response

ssheorey commented 8 months ago

We are happy to accept PRs for Windows support!

In the meantime, please try the Linux version in WSL2.

MabeTrue commented 8 months ago

I also have the same issue when configuring the environment on Windows. Has it been resolved?

lclsdut commented 3 months ago

I also encountered the same problem when configuring Open3D-ML and Pytorch environments in the window system. Does it have a specific solution?