Closed unix9999 closed 5 years ago
@unix9999 what flavor of 64-bit linux are you using? What version of Python? Did you install Python's shared library?
Thanks for the reply. I am using a Ubuntu 16.04; python 2.7.14; not sure about shared library. My q is running normally.
@unix9999 Make sure you following installation guide on Ubuntu for Python 2.7. For PyQ to work you need to install few additional packages on Ubuntu, due to the way they provide Python.
It seems to work now. But is there a way to permanently set QHOME path?
Yes, you can add following line to the end of into your $VIRTUAL_ENV/bin/activate
script.
export QHOME=/path/to/your/qhome
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
$pyq
Expected result
Normal pyq
Actual result
'2018.09.13T07:47:07.900 p.so: cannot open shared object file: No such file or directory [4] /home/robert/Downloads/kdb/p.k:3: (
p 2:(
p_init;1))python_dllWorkaround
If you know workaround, please provide it here.