1xinghuan / usdNodeGraph

A Node Graph editor for USD.
124 stars 14 forks source link

Python 3.7.9 compatible? #11

Closed suesauer closed 4 years ago

suesauer commented 4 years ago

Hey, was trying a USD build with python 3.7.9, all went well with Usdview. But the Maya plugin didn't work any more with the new Maya 2021 beta pr release 118. It says that ufe.getStage() module doesn't exist(import ufe works just fine). Not sure if you have access to the maya beta, but thought I would give you a heads up. The nodeGraph works perfectly for me in maya 2021/python2.7 tho.

1xinghuan commented 4 years ago

Sorry I don't have access to maya beta. Maybe in maya 2021 there's a new way to get stage from a node. You can get an answer in maya forum I guess.

suesauer commented 4 years ago

cool cool

TechArtistG commented 3 years ago

I ran 2to3 to convert the entire lib to Python 3 and seems to work fine for me in Maya 2021 PR121 with USD 0.6