Closed SamoPP closed 3 years ago
Did you install hdf5 in the appropriate 'environment'?
I'm new to python and running in Windows, but Anaconda worked well for me after a bit of experimentation. I'm now editing code in VSCode, after launching in Anaconda and selecting the appropriate environment.
Below is what I did to get it going:
conda install --channel conda-forge boost-cpp hdf5 libzip
This will install the relevant packages in your appropriate environmentpython -m pip install pyqstrat.tar.gz
(assuming you named your file as such)Now, pyqstrat and all the necessary supporting packages should be installed.
I know you aren't a fan of Anaconda, but it might not be bad to reconsider.
Good luck!
Thanks for information.
i am avoiding Anaconda as a plague. Since a couple of times installed/changed several crucial libraries on my Ubuntu machine which are crucial for many R packages to work. And it was a nightmare to debug...
Anyway, I got it working without Anaconda as noted above and I will leave it here for people like myself whoa don't want to use Anaconda but would love to use pyqstrat.
pyqstrat compilation/installation using
pip install pyqstrat
fails with the following error although libhdf5-dev is installed on Ubuntu 20.04.1 LTS and Python version is 3.8.EDIT: Some progress... I have added
export CPATH=/usr/include/hdf5/serial/
before runningpip install pyqstrat
And now the error is
So I guess I need to go down this rabbit hole here https://github.com/ros-industrial-consortium/reuleaux/issues/41#issuecomment-541413209 while it looks like the real solution is https://github.com/ros-industrial-consortium/reuleaux/issues/41#issuecomment-557017517
Will report on the progress.
EDIT 2: I successfully built pyqstrat on Ubuntu (without Conda since Conda breaks all sorts of things):
by doing: