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

Fixes venv and conda pip installation on windows #970

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

kellyguo11
Copy link
Contributor

@kellyguo11 kellyguo11 commented Sep 10, 2024

Description

The current windows installation does not support pip installation of isaac sim in venv as it only checks whether a conda environment is enabled or assumes that a symlink to isaac sim is used. This change adds support to check for system python when isaac sim is installed via pip. In addition, isaac sim variables at conda environment startup should only be assigned if isaac sim is installed from binary. This change addresses the need for when pip installation of isaac sim is used in conda.

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

Copy link
Contributor

@Mayankm96 Mayankm96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hard for me to check since I don't have Windows but the code seem to make sense.

@kellyguo11 kellyguo11 merged commit b4c9050 into isaac-sim:main Sep 11, 2024
1 of 2 checks passed
iamdrfly pushed a commit to iamdrfly/IsaacLab that referenced this pull request Nov 21, 2024
# Description

The current windows installation does not support pip installation of
isaac sim in venv as it only checks whether a conda environment is
enabled or assumes that a symlink to isaac sim is used. This change adds
support to check for system python when isaac sim is installed via pip.
In addition, isaac sim variables at conda environment startup should
only be assigned if isaac sim is installed from binary. This change
addresses the need for when pip installation of isaac sim is used in
conda.


## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- 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
- [x] 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

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->
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

Successfully merging this pull request may close these issues.

2 participants