René's URL Explorer Experiment


Title: ModuleNotFoundError: No module named 'psutil' · Issue #4867 · plotly/plotly.py · GitHub

Open Graph Title: ModuleNotFoundError: No module named 'psutil' · Issue #4867 · plotly/plotly.py

X Title: ModuleNotFoundError: No module named 'psutil' · Issue #4867 · plotly/plotly.py

Description: Encountered this error today when calling fig.show() in a fresh Python environment: ModuleNotFoundError: No module named 'psutil' Stack trace: (local) (plotly.py) (base) ekl@Emilys-MacBook-Air-2 plotly.py % python test-histogram.py Trace...

Open Graph Description: Encountered this error today when calling fig.show() in a fresh Python environment: ModuleNotFoundError: No module named 'psutil' Stack trace: (local) (plotly.py) (base) ekl@Emilys-MacBook-Air-2 pl...

X Description: Encountered this error today when calling fig.show() in a fresh Python environment: ModuleNotFoundError: No module named 'psutil' Stack trace: (local) (plotly.py) (base) ekl@Emilys-MacBook-...

Opengraph URL: https://github.com/plotly/plotly.py/issues/4867

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ModuleNotFoundError: No module named 'psutil'","articleBody":"Encountered this error today when calling `fig.show()` in a fresh Python environment:\n\n```\nModuleNotFoundError: No module named 'psutil'\n```\n\nStack trace:\n```\n(local) (plotly.py) (base) ekl@Emilys-MacBook-Air-2 plotly.py % python test-histogram.py\nTraceback (most recent call last):\n  File \"/Users/ekl/code/plotly.py/test-histogram.py\", line 17, in \u003cmodule>\n    fig.show()\n  File \"/Users/ekl/code/plotly.py/packages/python/plotly/plotly/basedatatypes.py\", line 3414, in show\n    return pio.show(self, *args, **kwargs)\n           ^^^^^^^^\n  File \"/Users/ekl/code/plotly.py/packages/python/plotly/_plotly_utils/importers.py\", line 36, in __getattr__\n    class_module = importlib.import_module(rel_module, parent_name)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/python@3.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/__init__.py\", line 90, in import_module\n    return _bootstrap._gcd_import(name[level:], package, level)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"\u003cfrozen importlib._bootstrap>\", line 1387, in _gcd_import\n  File \"\u003cfrozen importlib._bootstrap>\", line 1360, in _find_and_load\n  File \"\u003cfrozen importlib._bootstrap>\", line 1331, in _find_and_load_unlocked\n  File \"\u003cfrozen importlib._bootstrap>\", line 935, in _load_unlocked\n  File \"\u003cfrozen importlib._bootstrap_external>\", line 995, in exec_module\n  File \"\u003cfrozen importlib._bootstrap>\", line 488, in _call_with_frames_removed\n  File \"/Users/ekl/code/plotly.py/packages/python/plotly/plotly/io/_renderers.py\", line 38, in \u003cmodule>\n    import psutil\nModuleNotFoundError: No module named 'psutil'\n```\n\n---\n\nThis is caused by the addition of `import psutil` at the top of `plotly/io/_renderers.py` in #4823.\n\nI think all that needs to change is to move `import psutil` inside `display_jupyter_version_warnings()` under the two Jupyter `elif` cases (so that it doesn't get encountered when calling the normal `fig.show()` from a regular Python script).","author":{"url":"https://github.com/emilykl","@type":"Person","name":"emilykl"},"datePublished":"2024-11-12T22:06:46Z","url":"https://github.com/plotly/plotly.py/issues/4867"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e79e20c0-0a51-3d8a-3182-f2215c3a2c5d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD4E8:16AB79:164CD6E:1C6014C:6B0135F9
html-safe-nonce175529cca50320570d16a1441674c45d0a1255c8a6fa9644082a69de302670a0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEU4OjE2QUI3OToxNjRDRDZFOjFDNjAxNEM6NkIwMTM1RjkiLCJ2aXNpdG9yX2lkIjoiMjk0NzUyNDk1NDgyNjAyODUzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc600248c553978134fce0e29bcb82067336a8b469055a54539bfa27f1ac52dca
hovercard-subject-tagissue:2653447439
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.py/4867/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7174aafbd79935691ef2c3401eeea7dea0581734315d3b605d04bd142ea88e2f/plotly/plotly.py/issues/4867
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7174aafbd79935691ef2c3401eeea7dea0581734315d3b605d04bd142ea88e2f/plotly/plotly.py/issues/4867
og:image:altEncountered this error today when calling fig.show() in a fresh Python environment: ModuleNotFoundError: No module named 'psutil' Stack trace: (local) (plotly.py) (base) ekl@Emilys-MacBook-Air-2 pl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemilykl
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/plotly/plotly.py git https://github.com/plotly/plotly.py.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id14579099
octolytics-dimension-repository_nwoplotly/plotly.py
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14579099
octolytics-dimension-repository_network_root_nwoplotly/plotly.py
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.py/issues/4867#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.py%2Fissues%2F4867
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.py%2Fissues%2F4867
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=plotly%2Fplotly.py
Reloadhttps://github.com/plotly/plotly.py/issues/4867
Reloadhttps://github.com/plotly/plotly.py/issues/4867
Reloadhttps://github.com/plotly/plotly.py/issues/4867
plotlyhttps://github.com/plotly
plotly.pyhttps://github.com/plotly/plotly.py
Codehttps://github.com/plotly/plotly.py
Issues650 (650)https://github.com/plotly/plotly.py/issues
Pull requests83 (83)https://github.com/plotly/plotly.py/pulls
Actionshttps://github.com/plotly/plotly.py/actions
Security and qualityhttps://github.com/plotly/plotly.py/security
Insightshttps://github.com/plotly/plotly.py/insights
https://github.com/plotly/plotly.py
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/4867
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/4867
#4868https://github.com/plotly/plotly.py/pull/4868
ModuleNotFoundError: No module named 'psutil'https://github.com/plotly/plotly.py/issues/4867#top
#4868https://github.com/plotly/plotly.py/pull/4868
https://github.com/emilykl
emilyklhttps://github.com/emilykl
on Nov 12, 2024https://github.com/plotly/plotly.py/issues/4867#issue-2653447439
#4823https://github.com/plotly/plotly.py/pull/4823
marthacryanhttps://github.com/marthacryan
completedhttps://github.com/plotly/plotly.py/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#4868https://github.com/plotly/plotly.py/pull/4868
on Nov 12, 2024https://github.com/plotly/plotly.py/issues/4867#event-15272540689
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.py/issues/4867
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/4867
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.