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

No module named pathlib #3

Closed
gtgtgt1117 opened this issue Dec 20, 2019 · 3 comments
Closed

No module named pathlib #3

gtgtgt1117 opened this issue Dec 20, 2019 · 3 comments

Comments

@gtgtgt1117
Copy link

Hello ,您代码更新完了嘛?我测试的时候报错

Traceback (most recent call last):
File "moment_localization/test.py", line 20, in
from core.utils import AverageMeter
File "/data/gao/2D-TAN/moment_localization/../lib/core/utils.py", line 8, in
from pathlib import Path
ImportError: No module named pathlib
这是什么,您可以告诉我一下.thankyou

@Sy-Zhang
Copy link
Collaborator

Hello ,您代码更新完了嘛?我测试的时候报错

Traceback (most recent call last):
File "moment_localization/test.py", line 20, in
from core.utils import AverageMeter
File "/data/gao/2D-TAN/moment_localization/../lib/core/utils.py", line 8, in
from pathlib import Path
ImportError: No module named pathlib
这是什么,您可以告诉我一下.thankyou

Did you run our code in python2? Our code should be run in python3, as mentioned in README.

@gtgtgt1117
Copy link
Author

Hello ,您代码更新完了嘛?我测试的时候报错
Traceback (most recent call last):
File "moment_localization/test.py", line 20, in
from core.utils import AverageMeter
File "/data/gao/2D-TAN/moment_localization/../lib/core/utils.py", line 8, in
from pathlib import Path
ImportError: No module named pathlib
这是什么,您可以告诉我一下.thankyou

Did you run our code in python2? Our code should be run in python3, as mentioned in README.

Thank you ! 现在可以了

@penghouwen
Copy link
Contributor

@gtgtgt1117 problem was solved. closed.

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

3 participants