peteanderson80 / Matterport3DSimulator

AI Research Platform for Reinforcement Learning from Real Panoramic Images.
Other
503 stars 130 forks source link

ImportError: No module named MatterSim #16

Closed eric-xw closed 6 years ago

eric-xw commented 6 years ago

Hi,

I followed the instructions and encountered this problem "ImportError: No module named MatterSim". Any ideas about this? Thanks!

chihyaoma commented 6 years ago

Did you manage to fix it? I am facing the same issue.

chihyaoma commented 6 years ago

Looks like it's the issue with compiling while using virtual env. I pointed the path for the python in my virtual env (Conda env), and I can import the MatterSim successfully.

For example, Build OpenGL version using CMake:

mkdir build && cd build

# change this cmake here
cmake -DPYTHON_EXECUTABLE:FILEPATH=/path/to/your/bin/python ..

make
cd ../
srama2512 commented 6 years ago

Just as a side comment, the above didn't work for me for some reason. I had to manually copy over the *.so files from Matterport3DSimulator/build to my Anaconda/lib (even though I set the python executable as my anaconda python and added Matterport3DSimulator/build to LD_LIBRARY_PATH.