NVlabs / M2T2

M2T2: Multi-Task Masked Transformer for Object-centric Pick and Plac
Other
32 stars 2 forks source link

Broken m2t2 Package Installation #3

Open arhanjain opened 3 months ago

arhanjain commented 3 months ago

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

  1. cd $M2T2_DIR
  2. micromamba env create -n m2t2 python=3.10
  3. micromamba activate m2t2
  4. micromamba install cuda -c nvidia/label/cuda-11.8.0
  5. pip install torch==2.0.1 torchvision==0.15.2
  6. pip install pointnet2_ops/
  7. pip install -r requirements.txt
  8. pip install .
  9. 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'
>>> 
arhanjain commented 3 months ago

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