Ok so managed to get _mysql working inside nuke.
I found out the version of nuke we use is using python 2.5 whereas the
system version is 2.6. So I got the python2.5 amd 64 mysql package and used:
sys.path.append( "\\\\server\\folder\\custom_location" )
and this now works perfectly!!!
This is awesome because it means I can put and update python packages on
the server while the artists can keep working without having to
uninstall/reinstall anything on their own computers.
Thanks for the help Nathan :)
On 2012/05/31 08:28 AM, Jared Glass wrote:
Thanks Nathan. I've gone with option 2 but when I import any of the
modules from the site packages I get the following error:
ImportError: Module use of python26.dll conflicts with this version of
Python.
On 2012/05/30 07:52 PM, Nathan Rusch wrote:
You can either 1) Add the path to the local site-packages directory
to your PYTHONPATH environment variable before launching Nuke, or 2)
call `sys.path.append(localPath)` in an init.py.
-Nathan
*From:* Jared Glass <mailto:[email protected]>
*Sent:* Wednesday, May 30, 2012 8:30 AM
*To:* [email protected]
<mailto:[email protected]>
*Subject:* [Nuke-python] Can nuke be set to use Windows Python
instead ofbundled Python?
Hi
Does anyone know of a way to set nuke to use the python (and hence
the site_packages) of the windows python instead of the python
located in:
C:\Program Files (x86)\Nuke6.1v3\lib
or possibly together with this python? (Where nuke python modules
would replace system python modules with the same name in the plugin
path)
Or if this is even possible?
--
Kind Regards,
Jared Glass <mailto:[email protected]> | Technical Lead
Triggerfish Animation Studios <http://www.triggerfish.co.za>
Zambezia Movie <http://www.zambeziamovie.com/> | Khumba Movie
<http://www.triggerfish.co.za/khumba/>
------------------------------------------------------------------------
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected],http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python