Hey,
In Nuke, I need to somehow get the path to my *system's* site-packages
folder. I do not want the Nuke-distributed packages folder.
I've tried to import site; print site.getsitepackages() but that's just for
python 2.7 (and I'm using python 2.6).
I've also tried
for envPath in sys.path:
if 'site-packages' in envPath:
print envPath
As well as from distutils.sysconfig import get_python_lib;
print(get_python_lib())
...but that just returns Nuke's site-packages folder. Is there no way to
grab e.g. C:/python26/Lib/site-packages/ from within Nuke?
// Fredrik
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python