microsoft / microsoft/qlib

Help installing pyqlib

Open
#1,731 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
48.7k
Forks
7.7k
PR merge metrics
No merged PRs in 30d

Description

I've made few attempts to install pyqlib using both pip install and build from source.

I use conda environments and tried with 3 different Python versions 3.8.15, 3.8.17 and 3.9.13.

The common issues encountered are:

  • Using pip install pyqlib

Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement pyqlib (from versions: none)
ERROR: No matching distribution found for pyqlib

Same error when trying Jupyter Notes with Google Collab: https://github.com/microsoft/qlib/blob/main/examples/workflow_by_code.ipynb

This

  • Install from source

3.9

ERROR:: Could not find a local HDF5 installation.
You may need to explicitly state where your local HDF5 headers and
library can be found by setting the HDF5_DIR environment

3.8
RuntimeError: Scikit-learn requires Python 3.9 or later. The current Python version is 3.8.15 installed

Any pointers would be great.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported pip and source-install attempts with Python 3.8 and 3.9, including the Jupyter notebook environment. Compare the package availability, HDF5 detection, and scikit-learn version errors; done would mean identifying and documenting a supported installation path or correcting the installation requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python, scikit-learn
Domain
build-system, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.