KxSystems / pyq

PyQ — Python for kdb+
http://code.kx.com/q/interfaces
Apache License 2.0
190 stars 49 forks source link

Unable to run EmbedPy with PyQ installed #87

Closed TKTheTechie closed 5 years ago

TKTheTechie commented 6 years ago

Questions

Steps to reproduce the issue

Install miniconda source activate kdb conda install -c kx kdb conda install -c kx embedPy pip install pyq

q /opt/miniconda3/envs/kdb/q/p.q

Expected result

q to launch succesfully with no errors

Actual result

'/opt/miniconda3/envs/kdb/q/l64/./p.so: undefined symbol: init
  [2]  /opt/miniconda3/envs/kdb/q/p.q:6:
 `L`M`H set'@[system"python3 ",;c;{system"python ",c}];if[count M;if[k~key k:`$":",M;L::M]];
 .p:(`:./p 2:(`init;2))[L;H]]
           ^
  [0]  (<load>)

  )

Workaround

If you know workaround, please provide it here.

sashkab commented 5 years ago

This has been addressed internally via MR-647, 4.2.0 update will have the fix.