Skip to content

Fixes isaaclab scripts to deal with Isaac Sim pip installation - #631

Merged
Mayankm96 merged 28 commits into
mainfrom
fix/isaaclab-script
Jul 5, 2024
Merged

Mayankm96 merged 28 commits into
mainfrom
fix/isaaclab-script

Conversation

@Mayankm96

@Mayankm96 Mayankm96 commented Jul 3, 2024 •

Copy link
Copy Markdown
Contributor

Description

Earlier the script hard-coded with path to Isaac Sim installation as the sym-linked directory "_isaac_sim". However, when doing PIP installation, this workflow doesn't hold. The MR modifies the scripts isaaclab.sh and isaaclab.bat to now check for PIP package installation and get paths from there if they exist.

Fixes #516, #629

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@Mayankm96 Mayankm96 added the bug Something isn't working label Jul 3, 2024
@Mayankm96 Mayankm96 changed the title Fixes the isaac-lab scripts to corrcetly deal with pip package installation Fixes isaaclab scripts to deal with Isaac Sim pip installation Jul 3, 2024
@Mayankm96 Mayankm96 self-assigned this Jul 3, 2024
Comment thread isaaclab.bat Resolved
Comment thread .vscode/tools/setup_vscode.py Resolved
Comment thread .vscode/tools/setup_vscode.py Resolved
Comment thread isaaclab.bat Resolved
Comment thread isaaclab.bat Resolved
@Mayankm96

Copy link
Copy Markdown
Contributor Author

@kellyguo11 could you try again? Feel free to modify the branch/MR directly with the fixes needed for Windows

Base automatically changed from fix/vs-code-settings to main July 4, 2024 11:12
@kellyguo11

Copy link
Copy Markdown
Contributor

Pushed a few minor fixes, working for me on windows now

@Mayankm96
Mayankm96 requested a review from kellyguo11 July 4, 2024 23:50
@Mayankm96

Copy link
Copy Markdown
Contributor Author

I had to remove the default vscode setting up from the install script as it calls import isaacsim now which at its very first call expects a user input for EULA. This doesn't work nicely when we want to call the install instructions inside a docker.

Comment thread isaaclab.sh Resolved
@Mayankm96
Mayankm96 requested a review from kellyguo11 July 5, 2024 08:09
@Mayankm96
Mayankm96 merged commit 07f082f into main Jul 5, 2024
@Mayankm96
Mayankm96 deleted the fix/isaaclab-script branch July 5, 2024 16:06
Mayankm96 added a commit that referenced this pull request Jul 5, 2024
# Description

Realized that #631 did not deal properly with the case when not in a
conda or docker. This MR re-writes the logic to hopefully make the
operation safe.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
mohanksriram pushed a commit to mohanksriram/IsaacLab that referenced this pull request Jul 12, 2024
…ac-sim#631)

# Description

Earlier the script hard-coded with path to Isaac Sim installation as the
sym-linked directory "_isaac_sim". However, when doing PIP installation,
this workflow doesn't hold. The MR modifies the scripts `isaaclab.sh`
and `isaaclab.bat` to now check for PIP package installation and get
paths from there if they exist.

Fixes isaac-sim#516, isaac-sim#629

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: Mayank Mittal <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
mohanksriram pushed a commit to mohanksriram/IsaacLab that referenced this pull request Jul 12, 2024
)

# Description

Realized that isaac-sim#631 did not deal properly with the case when not in a
conda or docker. This MR re-writes the logic to hopefully make the
operation safe.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
iamdrfly pushed a commit to iamdrfly/IsaacLab that referenced this pull request Nov 21, 2024
…ac-sim#631)

# Description

Earlier the script hard-coded with path to Isaac Sim installation as the
sym-linked directory "_isaac_sim". However, when doing PIP installation,
this workflow doesn't hold. The MR modifies the scripts `isaaclab.sh`
and `isaaclab.bat` to now check for PIP package installation and get
paths from there if they exist.

Fixes isaac-sim#516, isaac-sim#629

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: Mayank Mittal <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
iamdrfly pushed a commit to iamdrfly/IsaacLab that referenced this pull request Nov 21, 2024
)

# Description

Realized that isaac-sim#631 did not deal properly with the case when not in a
conda or docker. This MR re-writes the logic to hopefully make the
operation safe.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
LJones-alt pushed a commit to LJones-alt/IsaacLab-Laura that referenced this pull request Jul 1, 2026
…ac-sim#631)

# Description

Earlier the script hard-coded with path to Isaac Sim installation as the
sym-linked directory "_isaac_sim". However, when doing PIP installation,
this workflow doesn't hold. The MR modifies the scripts `isaaclab.sh`
and `isaaclab.bat` to now check for PIP package installation and get
paths from there if they exist.

Fixes isaac-sim#516, isaac-sim#629

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: Mayank Mittal <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
LJones-alt pushed a commit to LJones-alt/IsaacLab-Laura that referenced this pull request Jul 1, 2026
)

# Description

Realized that isaac-sim#631 did not deal properly with the case when not in a
conda or docker. This MR re-writes the logic to hopefully make the
operation safe.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report] ModuleNotFoundError:No module named 'omni.isaac.kit‘ ; Had tried the issue #103 Solution

2 participants