LumaPictures / pymel

Python in Maya Done Right
Other
490 stars 131 forks source link

Env host not work #460

Closed FXTD-ODYSSEY closed 1 year ago

FXTD-ODYSSEY commented 1 year ago
import pymel.core as pm
env = pm.Env()
print(env.host())
# Error: NameError: file C:\Program Files\Autodesk\Maya2022\Python37\Lib\site-packages\pymel\core\language.py line 774: name '_gethostname' is not defined # 

Test in Maya2022 Python3 env.

chadrik commented 1 year ago

fixed! will be included in next release