It seems like the pip install . isn't working as expected. After a successful install I'm not able to import m2t2 from outside the repo.
Steps to reproduce
cd $M2T2_DIR
micromamba env create -n m2t2 python=3.10
micromamba activate m2t2
micromamba install cuda -c nvidia/label/cuda-11.8.0
pip install torch==2.0.1 torchvision==0.15.2
pip install pointnet2_ops/
pip install -r requirements.txt
pip install .
cd $HOME
❯ python
Python 3.10.14 | packaged by conda-forge | (main, Mar 20 2024, 12:45:18) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import m2t2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'm2t2'
>>>
also this may not be an immediate issue, but the requirements.txt doesn't have any enforced version, which could break the installation when working with existing environments
It seems like the
pip install .
isn't working as expected. After a successful install I'm not able to importm2t2
from outside the repo.Steps to reproduce
cd $M2T2_DIR
micromamba env create -n m2t2 python=3.10
micromamba activate m2t2
micromamba install cuda -c nvidia/label/cuda-11.8.0
pip install torch==2.0.1 torchvision==0.15.2
pip install pointnet2_ops/
pip install -r requirements.txt
pip install .
cd $HOME