Changing Product Key. How is it done?

User 1905 | 8/11/2015, 6:15:43 PM

Hi everyone,

I couldn't find the answer anywhere else. I have a product key that has been granted non-commercial license. I am currently using a different product key who's trial has expired.

I would like to switch to the non-commercial one.

How do I do that?




User 1359 | 8/11/2015, 6:32:57 PM

Hi Saar,

Try this to update your new product key (let's say it is XXX-XXX).

import graphlab as gl gl.product_key.set_product_key('XXX-XXX')

confirm your new product key:

print gl.product_key.get_product_key()

User 1905 | 8/11/2015, 6:56:28 PM

Thanks Dick.

I ran the command you provided me. It ran but the product key didn't stick.

When I run the print command it still shows me the old key. The one that is associated with my university email.

The one that was actually upgraded for me by Dato was the one associated with my gmail.

Do I need to change this somewhere in GraphLab as well? Could this be why it isn't updating my product key with the setproductkey command?

User 15 | 8/12/2015, 4:55:30 PM

The product key should be stored in a file called "config" in a folder called ".graphlab" in your home directory. So on Unix, it would be <pre>~/.graphlab/config</pre> and Windows it would be <pre>%USERPROFILE%.graphlab\config</pre> You can change the product key in there. Let us know if you hit any issues doing that.

User 1905 | 8/12/2015, 8:20:00 PM

I'm having trouble finding it. I'm on a Mac..

User 1905 | 8/12/2015, 8:52:32 PM

Never mind. I got it. It works!

Thanks guys.