KxSystems / pyq

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

cann't get QVER #5

Closed chenkangcrack closed 7 years ago

chenkangcrack commented 7 years ago

when I import the packages "pyq" in python, It throws an error "Traceback (most recent call last): File "", line 1, in File "c:\python27\lib\site-packages\pyq-3.8.4-py2.7-win32.egg\pyq__init__.py", line 96, in _ij = {'i': 'i', 'j': ''} if QVER[0] >= '3' else {'i': '', 'j': 'j'} TypeError: 'NoneType' object has no attribute 'getitem'" I find that "QVER = os.environ.get('QVER')" cannot get QVER, what's the problem?

sashkab commented 7 years ago

File "c:\python27\lib\site-packages\pyq-3.8.4-py2.7-win32.egg\pyqinit.py", line 96, in

It looks like you use Windows. Windows is not currently supported by PyQ. Please follow #1 for updates on Windows support.

PyQ currently is supported on Linux and macOS, and it should work on Solaris.

If you used OS other than Windows, please provide output of the

pyq --versions