Open dmarshfd opened 4 years ago
Not possible at this time. Due to need to press Ctrl+Z during initialization of PyQ on Windows -- this wouldn't be possible even with windows PyQ executable, which doesn't exists for exactly this reason.
But it is possible to run a python script without Ctrl+Z, e.g. something like q python.q helloworld.py will print hello world without manual intervention. PyCharm won't accept q python.q as a project interpreter though.
Stale issue message
I would try to create a batch file, which will launch q python.q
with all arguments passed to the PyQ; and attempt to pass it to PyCharm as interpreter. Or you need to use powershelgl script.
Sorry, I didn't touch Windows in a while... can't really help you much.
Stale issue message
Stale issue message
Stale issue message
Stale issue message
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
In Win10, create a venv and install pyq there. Try using the new env in PyCharm. According to this issue https://github.com/KxSystems/pyq/issues/61, the way to use pyq through PyCharm is to symlink pyq to python. In Windows there is no pyq executable to link.
Expected result
pyq is usable in PyCharm
Actual result
Can't apply solution from https://github.com/KxSystems/pyq/issues/61
Workaround
If you know workaround, please provide it here.