vt-vl-lab / 3d-photo-inpainting

[CVPR 2020] 3D Photography using Context-aware Layered Depth Inpainting
https://shihmengli.github.io/3D-Photo-Inpainting/
Other
6.91k stars 1.11k forks source link

ModuleNotFoundError: No module named 'transforms3d' #106

Closed gateway closed 3 years ago

gateway commented 3 years ago

Getting this odd issue on Ubuntu 18.04 with my RTX Titan

traitlets                 4.3.2                    py37_0  
transforms3d              0.3.1                h2e23829_0    owlas
typing                    3.6.4                    py37_0  
tzlocal                   1.3                      pypi_0    pypi
unicodecsv                0.14.1                   py37_0  
unixodbc                  2.3.7                h14c3975_0  
uritemplate               3.0.0                    pypi_0    pypi
urllib3                   1.24.1                   py37_0  
vine                      1.3.0                    pypi_0    pypi
vispy                     0.6.4                    pypi_0    pypi
wcwidth                   0.1.7                    py37_0  
webcolors                 1.5                      pypi_0    pypi
webencodings              0.5.1                    py37_1  
werkzeug                  0.14.1                   py37_0  
wheel                     0.33.1                   py37_0  
widgetsnbextension        3.4.2                    py37_0  
wrapt                     1.11.1           py37h7b6447c_0  
wurlitzer                 1.0.2                    py37_0  
xlrd                      1.2.0                    py37_0  
xlsxwriter                1.1.5                    py37_0  
xlwt                      1.3.0                    py37_0  
xz                        5.2.5                h7b6447c_0  
yaml                      0.1.7                had09818_2  
zeromq                    4.3.2                he6710b0_3  
zict                      0.1.4                    py37_0  
zipp                      3.1.0                    pypi_0    pypi
zlib                      1.2.11               h7b6447c_3  
zstd                      1.4.5                h9ceee32_0  
(base) gateway@gateway-media:~/work/3dphoto/3d-photo-inpainting$ python main.py --config argument.yml
Traceback (most recent call last):
  File "main.py", line 12, in <module>
    from mesh import write_ply, read_ply, output_3d_photo
  File "/home/gateway/work/3dphoto/3d-photo-inpainting/mesh.py", line 22, in <module>
    from mesh_tools import get_depth_from_maps, get_map_from_ccs, get_edge_from_nodes, get_depth_from_nodes, get_rgb_from_nodes, crop_maps_by_size, convert2tensor, recursive_add_edge, update_info, filter_edge, relabel_node, depth_inpainting
  File "/home/gateway/work/3dphoto/3d-photo-inpainting/mesh_tools.py", line 33, in <module>
    import transforms3d
ModuleNotFoundError: No module named 'transforms3d'

seems like conda has it but its not working for some reason.. head scratcher :/

(base) gateway@gateway-media:~/work/3dphoto/3d-photo-inpainting$ which python
/home/gateway/anaconda3/bin/python
(base) gateway@gateway-media:~/work/3dphoto/3d-photo-inpainting$ conda -V
conda 4.8.5
(base) gateway@gateway-media:~/work/3dphoto/3d-photo-inpainting$ python --version
Python 3.7.3

also..

(base) gateway@gateway-media:~/work/3dphoto/3d-photo-inpainting$ pip3 install transforms3d
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: transforms3d in /home/gateway/.local/lib/python3.6/site-packages (0.3.1)
(base) gateway@gateway-media:~/work/3dphoto/3d-photo-inpainting$