AttributeError: module 'pykx' has no attribute 'RawQConnection'
hi guys, i was trying pykx in Sandbox environment. So when i am trying to run the subscribers.py file i am getting this error in Sandbox. Can someone help me to fix this?
AttributeError: module 'pykx' has no attribute 'RawQConnection'
hi guys, i was trying pykx in Sandbox environment. So when i am trying to run the subscribers.py file i am getting this error in Sandbox. Can someone help me to fix this?
Hi
Try
conn = kx.QConnection(‘localhost’, 5000)
as per https://code.kx.com/pykx/1.3/api/ipc.html as the Academy PyKX sandbox is running PyKX 1.3
If this still does not work ensure you have initialised PyKX at the top of the Notebook first?
I just tried it myself and its working ok
Thanks QConnection is working but kx.RawQConnection is showing the error.
when i am trying to run the subscriber.py file from zip archive folder using the link https://code.kx.com/pykx/1.4/examples/subsciber/readme.html i was getting this error
Yes, as in my screenshot above this is because RawQConnection is a 1.4 feature and the Academy PyKX sandbox is running PyKX 1.3. We have plans to upgrade the Academy sandbox shortly to 1.4 so I will notify when that happens so you try the above. Thanks
Thanks . For reference just attached the screenshots below.
After trying with the Qconnection still i was facing the issue . When i updated the Qconnection with the AsyncQConnection i could able to see some results but it still throws error at some point.