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

qeustion about No module named 'skill_chaining' #1

Open
JauJieYou opened this issue Aug 20, 2023 · 6 comments
Open

qeustion about No module named 'skill_chaining' #1

JauJieYou opened this issue Aug 20, 2023 · 6 comments

Comments

@JauJieYou
Copy link

Dear Sir
I had tried install ViSkill, in Ubuntu 18.04, as web instruments. But
(1) I cannot find that file as

4.Then add one line of code at the top of gym/gym/envs/__ init__.py to register SurRoL tasks:
directory: anaconda3/envs/dex/lib/python3.8/site-packages/
import surrol.gym

So, I add line "import surrol.gym" in ~/anaconda3/envs/viskill/lib/python3.8/site-packages/gym/envs/__ init__.py
Is it correct?

(2) then, I try
python SurRoL/surrol/data/data_generation_bipegtransfer.py --env BiPegTransfer-v0 --subtask grasp

it show me the error of below.

Traceback (most recent call last):
File "SurRoL/surrol/data/data_generation_bipegtransfer.py", line 13, in
from skill_chaining.components.envrionment import BiPegTransferSLWrapper
ModuleNotFoundError: No module named 'skill_chaining'

It looks it cannot identify the skill_chaining. Did I make something wrong? I will be very appreciated if you would kindly figure out the solution.

Thank you very much.

@TaoHuang13
Copy link
Collaborator

Hi, Jaujie,

(1): Yes. That is correct.
(2): Have you run the command 'pip install -e .' before you run this command?

@JauJieYou
Copy link
Author

Yes, and I had rebuild again.
I also try find ~ -name 'skill_chaining*', and it shows

/home/cmuh/.local/share/Trash/files/ViSkill/viskill/configs/skill_chaining.yaml
/home/cmuh/ViSkill/viskill/configs/skill_chaining.yaml

There is no skill_chaining.py for import? I also check your web file, but I also cannot find it. Did I miss something?

@KantaphatLeelakunwet
Copy link

Yes, and I had rebuild again. I also try find ~ -name 'skill_chaining*', and it shows

/home/cmuh/.local/share/Trash/files/ViSkill/viskill/configs/skill_chaining.yaml
/home/cmuh/ViSkill/viskill/configs/skill_chaining.yaml

There is no skill_chaining.py for import? I also check your web file, but I also cannot find it. Did I miss something?

Hi, I have the same error here. Have you found a solution to this?

@KantaphatLeelakunwet
Copy link

I just found out that the code is a bit wrong. In the file "SurRoL/surrol/data/data_generation_bipegtransfer.py", line 13, in
from skill_chaining.components.envrionment import BiPegTransferSLWrapper
we need to change it to
from viskill.components.envrionment import BiPegTransferSLWrapper
then it should work.

@TaoHuang13
Copy link
Collaborator

Thanks for catching it out! I used the original name of this repo here, which would work on my local computer. I will fix it soon.

@carrenD
Copy link
Member

carrenD commented May 4, 2024 via email

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

4 participants