Closed sean185 closed 5 years ago
Please follow instructions in the user guide.
Importing PyQ in vanilla python is not supported.
Launch PyQ by running
c:\q\w32\q python.q
Note, you will have to press ^Z and then Enter key in order to get into the Python REPL.
Questions
[ ] 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?
[ ] 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
:[ ] Which version of kdb+ are you using, is it 32-bit or 64-bit?
[ ] If on 64-bit, is your
QLIC
set? Please provide outputenv | grep QLIC
on linux/macOS, orset|grep QLIC
on Windows.[ ] Did you use virtual environment to install PyQ? If not, why?
[ ] Where is your
QHOME
? Please provide outputenv | grep QHOME
on linux/macOS, orset|grep QHOME
on Windows.[ ] Do you use Conda? If so, what version?
Steps to reproduce the issue
Have Visual Studio C++ 2015 Build Tools installed.
Tried it with python 2.7
Tried it with python 3.6
Expected result
pyq should be able to import
Actual result
python exits immediately without completing the import
Workaround
-