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

[QUESTION] Dependency Version Specification #462

Open
ped02 opened this issue Jan 28, 2025 · 1 comment
Open

[QUESTION] Dependency Version Specification #462

ped02 opened this issue Jan 28, 2025 · 1 comment
Labels
question The issue author requires information

Comments

@ped02
Copy link

ped02 commented Jan 28, 2025

I have installed warp 1.5.1.

Prior to installation I install the dependency according to the docs.

pip install usd-core matplotlib pyglet

Which at this time resulted in
usd-core Version: 25.2
matplotlib Version: 3.10
pyglet Version: 2.1.2

After which I installed warp using the suggested method according to docs. I tried 2 different methods in different virtual env
1)pip install warp-lang[extras]
2) Install from source

To verify the installation I tried to run the examples. This is what I experienced.
For examples requiring matplotlib, I also needed to install PyQT6 to get the window to show.
I'm not sure if this is related to warp but it might help someone to document this solution here.

For examples generating a.usd file, I tried to open the .usd with Isaac Sim, USD Composer, and Apple Preview, but was not able to open the file (errored, example: 'Failed to open stage example_mesh.usd. Please check console for error.' But when checking the console it only showed Failed to open: <path to example_mesh.usd>). But when I downgraded usd-core to version 24.8 the generated files were able to be opened.

To see if it was usd-core v25.2 itself generates a bad file, I tried running their hello world example. I was able to open the file without any issue. So I am not sure if this is due to some interaction between warp and usd-core 25.2.

I wanted to ask if there's a specific version for dependencies that is required for warp. Additionally, I would like to ask if they could be provided in the documentation.

System Information
Warp Version: 1.5.1
CUDA Version: 12.5
OS Ubuntu 22.04
Python Version: 3.10.12

@ped02 ped02 added the question The issue author requires information label Jan 28, 2025
@shi-eric
Copy link
Contributor

The issue about opening USD files was recently raised on Discord, so I'll compile the messages from @christophercrouzet in that thread here for others:

What happened is that a recent version of usd-core updated the version of their “Crate format”, which older versions of software like usd-view aren't able to read.

PixarAnimationStudios/OpenUSD@12b410e

I think that reverting usd-core like you did is the only way until the various importers/viewers upgrade their version of USD. Actually, the alternative is to save with .usda, since that Crate file format version only affects binaries, but it's not ideal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The issue author requires information
Projects
None yet
Development

No branches or pull requests

2 participants