Skip to content

Add psutil dependency to install requires - #15

Merged
Eleven1Liu merged 1 commit into
ntumlgroup:masterfrom
zhi-bao:debug
Jul 6, 2025
Merged

Add psutil dependency to install requires#15
Eleven1Liu merged 1 commit into
ntumlgroup:masterfrom
zhi-bao:debug

Conversation

@zhi-bao

@zhi-bao zhi-bao commented Jul 4, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR fixes a missing dependency bug by adding psutil to the install requirements.

Users encountered import errors when installing the library via pip install becuase:

  • psutil was not declared as a dependency in setup.cfg
  • This caused ImportError: No module named 'psutil' when using the library

Test CLI & API (bash tests/autotest.sh)

Test APIs used by main.py.

  • Test Pass
    • (Copy and paste the last outputted line here.)
  • Not Applicable (i.e., the PR does not include API changes.)

Check API Document

If any new APIs are added, please check if the description of the APIs is added to API document.

  • API document is updated (linear, nn)
  • Not Applicable (i.e., the PR does not include API changes.)

Test quickstart & API (bash tests/docs/test_changed_document.sh)

If any APIs in quickstarts or tutorials are modified, please run this test to check if the current examples can run correctly after the modified APIs are released.

@zhi-bao
zhi-bao requested review from a team and cjlin1 as code owners July 4, 2025 16:56
@zhi-bao zhi-bao added bug Something isn't working model/linear release PyPI release tag is in this PR labels Jul 4, 2025
@zhi-bao zhi-bao self-assigned this Jul 4, 2025

@Eleven1Liu Eleven1Liu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we also need to add psutil in requirements.txt?

@Eleven1Liu
Eleven1Liu self-requested a review July 6, 2025 00:47
@Eleven1Liu
Eleven1Liu merged commit a0bef91 into ntumlgroup:master Jul 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working model/linear release PyPI release tag is in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants