Skip to content

Conversation

@marthacryan
Copy link
Collaborator

Fixes #4867.

@marthacryan marthacryan changed the title Fix psutil import error Add optional import error for psutil Nov 12, 2024
@marthacryan marthacryan changed the title Add optional import error for psutil Add optional import for psutil Nov 12, 2024
@marthacryan marthacryan requested a review from emilykl November 12, 2024 22:44
@marthacryan
Copy link
Collaborator Author

@emilykl tagged you for review on this because you found the issue - let me know if this fixed it for you! It fixed it for me.

Copy link
Contributor

@emilykl emilykl left a comment

Choose a reason for hiding this comment

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

Tested in the same env that was failing before, works! 🚀

I guess if psutil is not installed somehow in a Jupyter environment it will simply not show the warning, which seems fine.

@marthacryan marthacryan merged commit d31c728 into master Nov 12, 2024
5 checks passed
@marthacryan marthacryan deleted the psutil-err branch January 28, 2025 18:05
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.

ModuleNotFoundError: No module named 'psutil'

3 participants