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

use tf packages in python3 #1

Open
heheguoqushi opened this issue Nov 8, 2022 · 3 comments
Open

use tf packages in python3 #1

heheguoqushi opened this issue Nov 8, 2022 · 3 comments

Comments

@heheguoqushi
Copy link

Hello,I'm reproducing your code SMMR. I use ubuntu18.04、pytorch 1.12.
When I try to roslaunch turtlebot3sim two_robots.launch , the terminal shows the file "/home/txy/SMMRExplore/src/smmr_explore_wrapper/scripts/matchStamps2tf_pointnet_map_tf.py"

ImportError: dynamic module does not define module export function (PyInit__tf2).

I check the file matchStamps2tf_pointnet_map_tf.py. It uses both import tf and torch, but the tf only fits python2.
So In my python 3.7, It doesn't work. I try to install geometry(include tf) in python3,but not work.
Could you please help me? Thank you!

@Coder-Chouchou
Copy link

I also encountered a similar problem, may I ask if you have solved this problem, if yes, please tell me the solution, thank you very much!

@heheguoqushi
Copy link
Author

heheguoqushi commented Mar 29, 2023 via email

@Coder-Chouchou
Copy link

Hello! I have not solved this problem. I think there are two methods.  One is installing  tf package in python3(Because the pytorch now usually use python3). The second is installing  torch in python2.7(ubuntu default). I do not want to go on.Maybe  you can have a try.   836851724 @.***  

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年3月29日(星期三) 中午11:12 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [efc-robot/SMMR-Explore] use tf packages in python3 (Issue #1) I also encountered a similar problem, may I ask if you have solved this problem, if yes, please tell me the solution, thank you very much! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Thanks for your great idea, I'll try it later.

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