Comments (12)
We building pyq and running the tests on 32-bit Window as a part of our internal CI, so you should be able to build any recent version. From your description, it does not look like anything specific pyq. Are you able to build any other python package? Please try
pip install --no-binary numpy numpy
Any advice on resolving the error or input on the relative suitability of PyQ (and kdb and python by extension) to Windows versus Linux is appreciated.
Windows support is still considered experimental, but since we run the same tests on Linux and Windows, once you overcome the installation hurdles, you will be able to use the same features on both platforms. The only major missing feature on windows is the pyq executable: you have to run q python.q script.py
instead of pyq script.py
.
from pyq.
The link provided was dead (I'm guessing as it point to the VS2015 build tools and VS2017 had been released) so I DLed and installed the the VS2017 build tools. This didn't fix the issue. I tried installing VS 2017 which had some additional python support.
@sashkab - should we update Windows build instructions? I am not sure what link @cppt is complaining about. Both Python 2.7 and Python 3.6 links that we provide work for me.
from pyq.
Thanks. The first error message I got included the following link to get the missing build tools:
https://landinghub.visualstudio.com/visual-cpp-build-tools
I've since closed that cmd terminal otherwise I'd paste the error message.
numpy install completed successfully though threw an error after completing. A quick google seems to suggest this is an existing issue with python 3.6 and numpy, hopefully resolved with 3.7:
Re Windows support: It sounds like you all aren't running into any of these issues in your testing on Windows then?
ok, I might just install Ubuntu then and give all of this a try there. I'm far from married to Windows and was leaning toward doing that anyway.
from pyq.
Interesting. Can you rebuild numpy in verbose mode?
pip uninstall numpy
pip install -vvv --no-binary numpy numpy
from pyq.
The first error message I got included the following link to get the missing build tools:
https://landinghub.visualstudio.com/visual-cpp-build-tools
I am not sure where such message may come from. We don't issue this message and I could not find it in Python sources either. Apparently, people have seen this message with other packages as well. Are you using Anaconda Python by any chance?
from pyq.
No, though I've been considering installing it in hopes of remedying some of these issues given all the supplemental packages it comes with. I did originally have PyCharm installed though.
Log file for verbose install is attached:
numpyInstall.txt
from pyq.
Thanks, can you also attach a similar verbose log from
pip install -vvv --no-binary pyq pyq
from pyq.
Our instructions are correct, nothing to update. He complains about link provided from pip
, which is dead. End user suppose to install Visual Studio compiler in order to compile PyQ. For Python 3.6 -- It's from https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2017. Based on numpyInstall.txt, it seems like he already has them installed.
From here, pip install -U pyq==4.1.4
should install latest version of PyQ, as long as you followed our instructions.
from pyq.
Attached.
pyqInstall.txt
from pyq.
Thanks for sharing the log. It looks like you are attempting to build 32-bit PyQ using 64-bit Python. This cannot work. You should download 32-bit python from https://www.python.org/downloads/windows and use it to build PyQ. Alternatively, you can get a 64-bit kdb+ from https://ondemand.kx.com and use that together with the 64-bit python to build 64-bit PyQ.
from pyq.
Thank you, guys...upgraded kdb+ to 64-bit and pyq install completed successfully.
Do kdb+ and pyq versions need to match on Linux as well?
from pyq.
Do kdb+ and pyq versions need to match on Linux as well?
Yes, you cannot mix 32 and 64-bit libraries in one application. On macOS, you can build Universal binaries, but we still recommend having a matching kdb+/pyq installation for each python version.
from pyq.
Related Issues (20)
- [Windows] fail to load HOT 14
- pip install pyq fails HOT 2
- Pyq on 64-bit Centos 7 failes with Invalid ELF header HOT 2
- pyq doesn't run faster parallelly HOT 2
- Using PyQ in PyCharm in Windows HOT 8
- No module named 'pyq' in macOs Catalina 10.15.4 HOT 5
- q can't find python package in virtual env HOT 20
- pandas 1.0.3 incompatibility HOT 10
- Running a background q timer within an IPython session HOT 4
- stdout from Python is always behind stdout from Q when direct stdout to a file HOT 2
- PyQ 5.0 conda release for python 3.6 HOT 4
- Best practices for read only QHOME HOT 2
- support for .z.pi HOT 4
- What's The Proper Way To Add A Column To q() Table, From Python List or NumpyArrary? HOT 2
- Unable to install pyq on py3.6 venv HOT 1
- Running pyq in terminal resulting in exit .pyq.run line of code executing from python.q file HOT 5
- Python 3.10 compatiblity HOT 8
- Async messages get queued until sync message HOT 1
- installation error: subprocess-exited-with-error HOT 1
- Is there a way to have q syntax highlighting in cells starting with `%%q` in jupyter notebook? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyq.