Skip to content

【代码贡献】Add missing pandas and scikit-learn to requirements.txt#22

Open
mnn31 wants to merge 1 commit into
OriginQ:developfrom
mnn31:fix/requirements-deps
Open

【代码贡献】Add missing pandas and scikit-learn to requirements.txt#22
mnn31 wants to merge 1 commit into
OriginQ:developfrom
mnn31:fix/requirements-deps

Conversation

@mnn31

@mnn31 mnn31 commented Jun 8, 2026

Copy link
Copy Markdown

requirements.txt is missing pandas and scikit-learn even though the package
imports them, so a fresh install + import pyqpanda_alg fails:

ModuleNotFoundError: No module named 'pandas'

pandas is imported by QSVD, and sklearn (scikit-learn) by QSVM, QSVR and
QKmeans. Added both to requirements.txt. Checked by installing into a clean
virtualenv from requirements.txt only and importing pyqpanda_alg plus the
affected modules.

Relates to #13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant