cancel
Showing results for 
Search instead for 
Did you mean: 

I can't start KX Developer and Pyq

evol
New Contributor II

Hi everyone

I have two questions for KX Developer and Pyq

My system version is

01

KDB+ 4.0 2022.08.19 Copyright (C) 1993-2022 Kx Systems
l64/ 16(24)core 64146MB evol evol-system-product-name 127.0.1.1 EXPIRE 2023.01.04 1300017032@qq.com KOD #5009956

02

Ubuntu 20.04.1

03

Developer 1.5.2 Linux

04

python 3.6.13

05

pyq 5.0.0

 

First questions: I can't start KX Developer

I follow link

https://code.kx.com/developer/getting-started/

My error is

Error loading /home/evol/developer/ws/lib/q_git: libssh2.so.1: cannot open shared object file: No such file or directory
Please ensure all dependencies have been installed and environment variables have been set
[developer] failed to start Kx Developer: error setting port DEVELOPER_PORT not set - source config.profile

 

------------------

 

First questions: I can't use PYQ in Pycharm

Screenshot from 2022-10-21 20-55-10.png

 

How can i fix KX d

1 ACCEPTED SOLUTION

evol
New Contributor II

sorry about questions again

also i install libssh

that's my error

Screenshot from 2022-10-21 21-35-00.png

View solution in original post

6 REPLIES 6

rocuinneagain
Valued Contributor
Valued Contributor

To launch pyq you need to call the pyq executable instead of the python executable.

https://code.kx.com/q/interfaces/pyq/#quick-start

This:

 

$ pyq

 

 

Not this:

 

$ python

 

 

Related questions raised on stackoverflow.com

 

For Developer

https://code.kx.com/developer/getting-started/#starting-developer

You need to start it with 

 

source /path-to-install-dir/config/config.profile
q /path-to-install-dir/launcher.q_

 

For your SSH error this may help:  How to install libssh2-1 on Ubuntu 20.04 (Focal Fossa)? (devmanuals.net)

 

 

evol
New Contributor II

Thanks for answer

I can use pyq in pycharm terminal, so it's can't run Pycharm IDE ?

rocuinneagain
Valued Contributor
Valued Contributor

evol
New Contributor II

sorry about questions again

also i install libssh

that's my error

Screenshot from 2022-10-21 21-35-00.png

rocuinneagain
Valued Contributor
Valued Contributor

You need to run both commands in the same ssh terminal. It does not work when you do it in 2 different ones like you screenshot. 

evol
New Contributor II

nice work! thanks