Closed jdoraemon closed 5 years ago
- QHOME=C:q
You have an error in your QHOME
variable. Correct one should be either QHOME=C:\q
, or QHOME=C:\path\to\q
.
PyQ was not tested when compiled via cygwin. For use with conda, we provide instructions on how to easily install PyQ in coda environment with the kdb+ personal edition.
conda install -c enlnt -c kx pyq
Thank you so much for pointing out that silly error. I tried following your instruction on conda install, but I get the following PackagesNotFoundError:
base) C:\Users\Jay Huang>conda install -c enlnt -c kx pyq Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
Are you able to shed some light on this please? Thanks
We don't publish windows builds on anaconda, only macOS and linux. Your best bet would be to run pip install pyq
then, but properly setting 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? No, I used pip install pyq through command prompt.
[ ] 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 command prompt: pip install pyq
Expected result
Actual result
H:>pip install pyq Collecting pyq Using cached https://files.pythonhosted.org/packages/53/de/195ce13d50784489365fee87d1e7d637fa2e42f3c5ae359d56c13595c93c/pyq-4.1.4.tar.gz Complete output from command python setup.py egg_info: running egg_info creating pip-egg-info\pyq.egg-info writing requirements to pip-egg-info\pyq.egg-info\requires.txt writing pip-egg-info\pyq.egg-info\PKG-INFO writing top-level names to pip-egg-info\pyq.egg-info\top_level.txt writing dependency_links to pip-egg-info\pyq.egg-info\dependency_links.txt writing manifest file 'pip-egg-info\pyq.egg-info\SOURCES.txt' error: [Errno 2] No such file or directory: 'C:q\q.k'
Command "python setup.py egg_info" failed with error code 1 in c:\users\jay~1.hua\appdata\local\temp\pip-install-n9lzdt\pyq\
Workaround
If you know workaround, please provide it here. Sorry, none.