Title: WARNING:psyplot:Could not import plugin = psy_simple.plugin · Issue #42 · psyplot/psyplot · GitHub
Open Graph Title: WARNING:psyplot:Could not import plugin = psy_simple.plugin · Issue #42 · psyplot/psyplot
X Title: WARNING:psyplot:Could not import plugin = psy_simple.plugin · Issue #42 · psyplot/psyplot
Description: Problem description I upgraded to Fedora 35, which uses Python 3.10 and psyplot won't start. It seems to be related to the use of pkg_resources. On this page : https://setuptools.pypa.io/en/latest/pkg_resources.html , I see this : Use of...
Open Graph Description: Problem description I upgraded to Fedora 35, which uses Python 3.10 and psyplot won't start. It seems to be related to the use of pkg_resources. On this page : https://setuptools.pypa.io/en/latest/...
X Description: Problem description I upgraded to Fedora 35, which uses Python 3.10 and psyplot won't start. It seems to be related to the use of pkg_resources. On this page : https://setuptools.pypa.io/en/lat...
Opengraph URL: https://github.com/psyplot/psyplot/issues/42
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"WARNING:psyplot:Could not import plugin = psy_simple.plugin","articleBody":"#### Problem description\r\n\r\nI upgraded to Fedora 35, which uses Python 3.10 and psyplot won't start.\r\n\r\nIt seems to be related to the use of pkg_resources. On this page : https://setuptools.pypa.io/en/latest/pkg_resources.html , I see this : Use of pkg_resources is discouraged in favor of importlib.resources, importlib.metadata.\r\n\r\n\r\n```\r\n$ psyplot\r\nINFO:numexpr.utils:NumExpr defaulting to 4 threads.\r\nWARNING:psyplot.config.rcsetup:Failed to import plugin = psy_simple.plugin!\r\nWARNING:psyplot.config.rcsetup:Failed to import plugin = psy_reg.plugin!\r\nWARNING:psyplot.config.rcsetup:Failed to import plugin = psy_maps.plugin!\r\nWARNING:psyplot:Could not import plugin = psy_simple.plugin\r\nTraceback (most recent call last):\r\n File \"/mumble/bin/psyplot\", line 8, in \u003cmodule\u003e\r\n sys.exit(main())\r\n File \"/mumble/lib/python3.10/site-packages/psyplot/__main__.py\", line 73, in main\r\n parser.parse_known2func(args)\r\n File \"/mumble/lib/python3.10/site-packages/funcargparse/__init__.py\", line 963, in parse_known2func\r\n return func(**kws), remainder\r\n File \"/mumble/lib/python3.10/site-packages/psyplot_gui/__init__.py\", line 284, in start_app\r\n from psyplot_gui.main import MainWindow\r\n File \"/mumble/lib/python3.10/site-packages/psyplot_gui/main.py\", line 54, in \u003cmodule\u003e\r\n from psyplot_gui.console import ConsoleWidget\r\n File \"/mumble/lib/python3.10/site-packages/psyplot_gui/console.py\", line 52, in \u003cmodule\u003e\r\n import psyplot.project as psy\r\n File \"/mumble/lib/python3.10/site-packages/psyplot/project.py\", line 93, in \u003cmodule\u003e\r\n _versions = get_versions(requirements=False)\r\n File \"/mumble/lib/python3.10/site-packages/psyplot/__init__.py\", line 139, in get_versions\r\n ret[str(ep.module_name)] = mod.get_versions(requirements)\r\nUnboundLocalError: local variable 'mod' referenced before assignment\r\n```\r\n\r\n#### Output of ``psyplot -aV``\r\n\r\nThis won't start either.\r\n","author":{"url":"https://github.com/captcha1","@type":"Person","name":"captcha1"},"datePublished":"2021-11-15T23:55:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/42/psyplot/issues/42"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9796de79-05a0-ec67-60fc-7210fce930fa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC18:2006B6:86515E7:B5477EC:698CFBA1 |
| html-safe-nonce | f6961c228f11480ab1f8e87c6a785ae9ae0640a2912dcf83b214ebbaa9c37581 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzE4OjIwMDZCNjo4NjUxNUU3OkI1NDc3RUM6Njk4Q0ZCQTEiLCJ2aXNpdG9yX2lkIjoiNDgyNjk4NjkzNjgzNTgzMjczNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c586e4a6113a7e74e6d125f8f9474cbaf18c179d1919fa62452af2b10f352d44 |
| hovercard-subject-tag | issue:1054268929 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/psyplot/psyplot/42/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b9baca30ba62aa7732a31047786498607d99d3c5771698cfc834a5af69599dc5/psyplot/psyplot/issues/42 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b9baca30ba62aa7732a31047786498607d99d3c5771698cfc834a5af69599dc5/psyplot/psyplot/issues/42 |
| og:image:alt | Problem description I upgraded to Fedora 35, which uses Python 3.10 and psyplot won't start. It seems to be related to the use of pkg_resources. On this page : https://setuptools.pypa.io/en/latest/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | captcha1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 09447bc7ef1f50c40a646f48e82dfbd31133c28c940bfee5a938619ac0191038 |
| turbo-cache-control | no-preview |
| go-import | github.com/psyplot/psyplot git https://github.com/psyplot/psyplot.git |
| octolytics-dimension-user_id | 60222268 |
| octolytics-dimension-user_login | psyplot |
| octolytics-dimension-repository_id | 87944102 |
| octolytics-dimension-repository_nwo | psyplot/psyplot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 87944102 |
| octolytics-dimension-repository_network_root_nwo | psyplot/psyplot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 02f0047575af3d968e1dea9cf0b6015a852cddfe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width