peteanderson80 / Matterport3DSimulator

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

ModuleNotFoundError: No module named 'MatterSim' #121

Open lizixiaoboluo opened 1 year ago

lizixiaoboluo commented 1 year ago

(vlnhamt) tjf22@ubuntu:~/VLN-HAMT-main/finetune_src$ export PYTHONPATH=Matterport3DSimulator/build:/usr/bin/python3.6 (vlnhamt) tjf22@ubuntu:~/VLN-HAMT-main/finetune_src$ bash scripts/run_r2r.sh Traceback (most recent call last): File "r2r/main.py", line 20, in from finetune_src.r2r.agent_cmt import Seq2SeqCMTAgent File "../finetune_src/r2r/agent_cmt.py", line 22, in from .eval_utils import cal_dtw File "../finetune_src/r2r/eval_utils.py", line 7, in import MatterSim ModuleNotFoundError: No module named 'MatterSim' Traceback (most recent call last): File "r2r/main.py", line 20, in from finetune_src.r2r.agent_cmt import Seq2SeqCMTAgent File "../finetune_src/r2r/agent_cmt.py", line 22, in from .eval_utils import cal_dtw File "../finetune_src/r2r/eval_utils.py", line 7, in import MatterSim ModuleNotFoundError: No module named 'MatterSim'

Routine113 commented 1 year ago

Hello,I have met the same question,do you have solved it?thank u

lizixiaoboluo commented 1 year ago

Yes,i do. You can enter the docker to run the program for invoking MatterSim.

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年4月15日(星期六) 晚上8:38 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [peteanderson80/Matterport3DSimulator] ModuleNotFoundError: No module named 'MatterSim' (Issue #121)

Hello,I have met the same question,do you have solved it?thank u

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Routine113 commented 1 year ago

Yes,i do. You can enter the docker to run the program for invoking MatterSim. ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年4月15日(星期六) 晚上8:38 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [peteanderson80/Matterport3DSimulator] ModuleNotFoundError: No module named 'MatterSim' (Issue #121) Hello,I have met the same question,do you have solved it?thank u — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

I am running my program in Conda Env and I am always unable to import MatterSim. Do I have to reconfigure my environment in the Docker before importing MatterSim? Thank you again for your patient answer!

lizixiaoboluo commented 1 year ago

Yes, you need to reconfigure your environment in the Docker and put the code in Mattersim's folder. 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年4月15日(星期六) 晚上9:02 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [peteanderson80/Matterport3DSimulator] ModuleNotFoundError: No module named 'MatterSim' (Issue #121)

Yes,i do. You can enter the docker to run the program for invoking MatterSim. … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年4月15日(星期六) 晚上8:38 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [peteanderson80/Matterport3DSimulator] ModuleNotFoundError: No module named 'MatterSim' (Issue #121) Hello,I have met the same question,do you have solved it?thank u — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

I am running my program in Conda Env and I am always unable to import MatterSim. Do I have to reconfigure my environment in the Docker before importing MatterSim? Thank you again for your patient answer!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Routine113 commented 1 year ago

Yes, you need to reconfigure your environment in the Docker and put the code in Mattersim's folder.  ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年4月15日(星期六) 晚上9:02 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [peteanderson80/Matterport3DSimulator] ModuleNotFoundError: No module named 'MatterSim' (Issue #121) Yes,i do. You can enter the docker to run the program for invoking MatterSim. … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年4月15日(星期六) 晚上8:38 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [peteanderson80/Matterport3DSimulator] ModuleNotFoundError: No module named 'MatterSim' (Issue #121) Hello,I have met the same question,do you have solved it?thank u — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.> I am running my program in Conda Env and I am always unable to import MatterSim. Do I have to reconfigure my environment in the Docker before importing MatterSim? Thank you again for your patient answer! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

Thank you for your kind replying!!!I'm tring.

Routine113 commented 1 year ago

Sorry to bother you again, I have successfully run the ‘VLNBERT’ project in Docker, but when I want to execute other projects, the installation environment for other projects is Python 3.8. But the built-in Python version in Docker is 3.6.9, so I cannot install the libraries required by other environments. I have tried to upgrade the Python version, but it has failed. Can you teach me how to solve this problem

lukun927 commented 4 months ago

I have just overcomed this "can't find" problem by run the .py document by python3, what a surprise!