Hi there,
I am having trouble setting up Q.
I am using a mac and downloaded the 34bit package.
I then run q/m32/q in my downloads folder on the terminal as mentioned in the kx tutorial (https://code.kx.com/v2/learn/install/macos/ ).
It returns
KDB+ 3.6 2019.04.02 Copyright (C) 1993-2019 Kx Systems
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ffffff; background-color: #000000}p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ffffff; background-color: #000000; min-height: 13.0px}span.s1 {font-variant-ligatures: no-common-ligatures}
m32/ 4()core 4096MB owner iglorieux.home 192.168.1.18 NONEXPIRE
'/Users/owner/q/q.k. OS reports: No such file or directory
0::
`/Users/owner/q/q.k
So I can’t figure out how to have the ‘q)’ in terminal to start coding.
Also, can we use IDEs to run Q or is it only in the terminal?
Thanks in advance,
Victor
Nick10
September 29, 2019, 1:22am
2
the error indicates that q can’t find the file: q.k
this is located in the extracted zip file.
once you export the QHOME environment variable to the directory containing the q.k file, running q should no longer throw this exception.
Hi Victor,
With regards to an IDE, see here: https://code.kx.com/developer/getting-started/
Note:
“To install and use Developer, a user must have installed 64bit kdb+ 3.4+ and set the required q environment variables ( QHOME
, QLIC
, append q to PATH
)”
And..
“Users can obtain a free copy of 64bit kdb+ for personal, non-commercial use from https://ondemand.kx.com/. ”
Thanks,
Ian
On Friday, September 27, 2019 at 3:56:46 PM UTC+1, Victor wrote:
Hi there,
I am having trouble setting up Q.
I am using a mac and downloaded the 34bit package.
I then run q/m32/q in my downloads folder on the terminal as mentioned in the kx tutorial (https://code.kx.com/v2/learn/install/macos/ ).
It returns
KDB+ 3.6 2019.04.02 Copyright (C) 1993-2019 Kx Systems
m32/ 4()core 4096MB owner iglorieux.home 192.168.1.18 NONEXPIRE
'/Users/owner/q/q.k. OS reports: No such file or directory
0::
`/Users/owner/q/q.k
So I can’t figure out how to have the ‘q)’ in terminal to start coding.
Also, can we use IDEs to run Q or is it only in the terminal?
Thanks in advance,
Victor
Nick10
September 29, 2019, 5:17pm
4
Thanks a lot Ian, I appreciate your help!
Perfect, thanks a lot. All I needed was to copy-paste the downloaded q file in /users/owner/.