You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As this link, after python 3.10, Sequence has been moved to collections.abc not collections.
You can use MinkowskiEngine on Python 3.10 by editing the following files.
MinkowskiEngine/utils/quantization.py
MinkowskiEngine/MinkowskiCommon.py
MinkowskiEngine/MinkowskiCoordinateManager.py
MinkowskiEngine/MinkowskiKernelGenerator.py
MinkowskiEngine/MinkowskiTensorField.py
# You should edit the code that import Sequence as following code..try:
fromcollectionsimportSequenceexceptImportError:
fromcollections.abcimportSequence
I just try to import MinkowskiEngine, but it has a major problem with its package dependency!
This is the error that I get on torch.version : '1.13.1+cu117' and python 3.10.6
This issue pertains to Python 3.10 which the collections package got changed. MinkowskiEngine requires some updates regarding to Python upgrades.
The text was updated successfully, but these errors were encountered: