PyKX license error

https://learninghub.kx.com/forums/topic/pykx-license-error

Dear KX community,

I did a fresh install of q on windows with a new license file.

Q works ok.

But after installing PyKX v1.6 it remains saying "Failed to initialize PyKX fully licensed functionality.
To access all functionality of PyKX please download an evaluation license from https://kx.com/kdb-insights-personal-edition-license-download/
Full installation instructions can be found at https://code.kx.com/pykx/getting-started/installing.html
Falling back to unlicensed mode, which has limited functionality.
Refer to https://code.kx.com/pykx/user-guide/advanced/modes.html for more information on licensed vs unlicensed modalities.
Captured output from initialization attempt:
'2023.07.11T21:46:14.219 licence error: k4.lic

I have put QLIC and QHOME in my environment variables, but nothing helps.

Any solution?