Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'MatterSim' #88

Open
parthskansara opened this issue Feb 22, 2021 · 1 comment
Open

ModuleNotFoundError: No module named 'MatterSim' #88

parthskansara opened this issue Feb 22, 2021 · 1 comment

Comments

@parthskansara
Copy link

Traceback:
File "scripts/downsize_skybox.py", line 10, in <module>
    from depth_to_skybox import camera_parameters
File "/home/anshshah2111/Matterport3DSimulator/scripts/depth_to_skybox.py", line 25, in <module>
    from MatterSim import cbf
ModuleNotFoundError: No module named 'MatterSim'

I'm using Google Cloud Platform, running an Ubuntu 18.04 VM.

After mounting the docker container, I have run the following commands from inside the container:

  • mkdir build && cd build
  • cmake -DEGL_RENDERING=ON ..
  • make
  • cd ..

The next statement gives the above error:

  • python3 scripts/downsize_skybox.py

Alternatively, I've also tried the following cmake command, but got the same error:

  • cmake -DEGL_RENDERING=ON -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3.6 ..

How do I preprocess the skybox images? I understand that without this step, I cannot use the simulator.
Can using the Simulator API be an alternative workaround to this error?

@peteanderson80
Copy link
Owner

Assuming the make command runs without error, it looks like python is not looking in the correct place for the MatterSim package.

This looks like a python issue. The python import system is complex and the settings vary by machine so I can't provide support for debugging that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants