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' #121

Open
lizixiaoboluo opened this issue Dec 6, 2022 · 6 comments
Open

ModuleNotFoundError: No module named 'MatterSim' #121

lizixiaoboluo opened this issue Dec 6, 2022 · 6 comments

Comments

@lizixiaoboluo
Copy link

(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
Copy link

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

@lizixiaoboluo
Copy link
Author

lizixiaoboluo commented Apr 15, 2023 via email

@Routine113
Copy link

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
Copy link
Author

lizixiaoboluo commented Apr 15, 2023 via email

@Routine113
Copy link

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
Copy link

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

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