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

File "client.py", line 4, in <module> from .utils import * ModuleNotFoundError: No module named '__main__.utils'; '__main__' is not a package #14

Open
flash201524 opened this issue Sep 4, 2024 · 1 comment

Comments

@flash201524
Copy link

一开始我cd进入了misc/move_to_airsim文件夹,然后运行client.py,报错
File "client.py", line 4, in
from .utils import *
ModuleNotFoundError: No module named 'main.utils'; 'main' is not a package
后面我尝试吧types.py和client.py复制到airsim_rl文件夹下然后运行,仍然报错
File "client.py", line 4, in
from .utils import *
ModuleNotFoundError: No module named 'main.utils'; 'main' is not a package
所以有可能是什么问题呢?
作者大大能否告知一下Python版本号

@1-pluto1
Copy link

image
你可以把路径写全试试

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