Closed kgang closed 4 years ago
Looks like our version of kdb (3.1) was too old to have scov, svar, so just deleted those imports from the init.py file.
I don't think we test with 3.1, as this version is somewhat old. But thanks for your report and the workaround. We will try to add support in future version.
internal issue 1054.
This has been resolved internally. Expected fix will be released in PyQ 5.0.
Just adding in case anyone hits this issue running KDB 3.1
all you need to do is adjust this line for version import,
vi /home/user/py3/lib64/python3.6/site-packages/pyq/__init__.py
#line 624
# change kver to 3.2
if kver < 3.2:
for new in ['scov', 'svar', 'sdev']:
names.remove(new)
Questions
[x] Which operating system are you using (if Linux, please provide flavour of it, i.e RedHat, CentOS or Ubuntu), is it 32-bit, or 64-bit?
[x] Which version of PyQ are you running? Please provide output of
pyq --versions
, if PyQ isn't operational, please provide Python interpreter version and PyQ versionpython -V; python3 -V; pip list | grep pyq
:[x] Which version of kdb+ are you using, is it 32-bit or 64-bit?
[x] If on 64-bit, is your
QLIC
set? Please provide outputenv | grep QLIC
on linux/macOS, orset|grep QLIC
on Windows.[x] Did you use virtual environment to install PyQ? If not, why?
[x] Where is your
QHOME
? Please provide outputenv | grep QHOME
on linux/macOS, orset|grep QHOME
on Windows.[x] Do you use Conda? If so, what version?
Steps to reproduce the issue
pip install pyq pyq
Expected result
Python terminal prompt
Actual result