Title: Cannot import `six.moves.urllib` with bpython · Issue #874 · bpython/bpython · GitHub
Open Graph Title: Cannot import `six.moves.urllib` with bpython · Issue #874 · bpython/bpython
X Title: Cannot import `six.moves.urllib` with bpython · Issue #874 · bpython/bpython
Description: Fedora bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1782782 Tried on Fedora 33 with both bpython installed from RPM and in a venv (on Python 3.9.0). The same operations work fine using /usr/bin/python3 and IPython. ~ ❯ bpython...
Open Graph Description: Fedora bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1782782 Tried on Fedora 33 with both bpython installed from RPM and in a venv (on Python 3.9.0). The same operations work fine using /...
X Description: Fedora bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1782782 Tried on Fedora 33 with both bpython installed from RPM and in a venv (on Python 3.9.0). The same operations work fine using /...
Opengraph URL: https://github.com/bpython/bpython/issues/874
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot import `six.moves.urllib` with bpython","articleBody":"Fedora bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1782782\r\n\r\nTried on Fedora 33 with both `bpython` installed from RPM and in a venv (on Python 3.9.0). The same operations work fine using `/usr/bin/python3` and IPython.\r\n\r\n```\r\n~ \r\n❯ bpython\r\nbpython version unknown on top of Python 3.9.0 /usr/bin/python3\r\n\u003e\u003e\u003e from fedora import client\r\nTraceback (most recent call last):\r\n File \"\u003cinput\u003e\", line 1, in \u003cmodule\u003e\r\n from fedora import client\r\n File \"/usr/lib/python3.9/site-packages/fedora/client/__init__.py\", line 157, in \u003cmodule\u003e\r\n from fedora.client.proxyclient import ProxyClient\r\n File \"/usr/lib/python3.9/site-packages/fedora/client/proxyclient.py\", line 39, in \u003cmodule\u003e\r\n from six.moves.urllib.parse import quote, urljoin, urlparse\r\nModuleNotFoundError: No module named 'six.moves.urllib'\r\n\u003e\u003e\u003e import six\r\n\u003e\u003e\u003e from six.moves import urllib\r\nTraceback (most recent call last):\r\n File \"\u003cinput\u003e\", line 1, in \u003cmodule\u003e\r\n from six.moves import urllib\r\n File \"/usr/lib/python3.9/site-packages/six.py\", line 92, in __get__\r\n result = self._resolve()\r\n File \"/usr/lib/python3.9/site-packages/six.py\", line 115, in _resolve\r\n return _import_module(self.mod)\r\n File \"/usr/lib/python3.9/site-packages/six.py\", line 82, in _import_module\r\n __import__(name)\r\nModuleNotFoundError: No module named 'six.moves.urllib'\r\n\u003e\u003e\u003e from bodhi import client\r\nTraceback (most recent call last):\r\n File \"\u003cinput\u003e\", line 1, in \u003cmodule\u003e\r\n from bodhi import client\r\n File \"/usr/lib/python3.9/site-packages/bodhi/client/__init__.py\", line 30, in \u003cmodule\u003e\r\n from fedora.client import AuthError, openidproxyclient\r\n File \"/usr/lib/python3.9/site-packages/fedora/client/__init__.py\", line 157, in \u003cmodule\u003e\r\n from fedora.client.proxyclient import ProxyClient\r\n File \"/usr/lib/python3.9/site-packages/fedora/client/proxyclient.py\", line 39, in \u003cmodule\u003e\r\n from six.moves.urllib.parse import quote, urljoin, urlparse\r\nModuleNotFoundError: No module named 'six.moves.urllib'\r\n\u003e\u003e\u003e \r\n```","author":{"url":"https://github.com/michel-slm","@type":"Person","name":"michel-slm"},"datePublished":"2021-01-09T00:23:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/874/bpython/issues/874"}
| 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:3fb485f5-a5e8-b57b-3bd1-67cdf254b660 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D12C:1917D8:E37DDC:13A2E39:6968A86C |
| html-safe-nonce | a570d89297c4c6cc40a13a863d6d5031e11642d02b8ebf382c68d6d5fe56dd7f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTJDOjE5MTdEODpFMzdEREM6MTNBMkUzOTo2OTY4QTg2QyIsInZpc2l0b3JfaWQiOiI0Mjk4Njg2OTI4NDI1MzYzNTY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b5c575349f14fc15182354603bd24e0d4dcd3248e9f2310e1f5079c8357058da |
| hovercard-subject-tag | issue:782469867 |
| 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/bpython/bpython/874/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6cf41b1ad87a9ac39c4cd90ad663d9afda86fe9bf42724fb148e5fde2dc02019/bpython/bpython/issues/874 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6cf41b1ad87a9ac39c4cd90ad663d9afda86fe9bf42724fb148e5fde2dc02019/bpython/bpython/issues/874 |
| og:image:alt | Fedora bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1782782 Tried on Fedora 33 with both bpython installed from RPM and in a venv (on Python 3.9.0). The same operations work fine using /... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | michel-slm |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdc7c66bd36a6c12eb8e771e806db863266e573fc299e77f27505a768d4f8a98 |
| turbo-cache-control | no-preview |
| go-import | github.com/bpython/bpython git https://github.com/bpython/bpython.git |
| octolytics-dimension-user_id | 8071396 |
| octolytics-dimension-user_login | bpython |
| octolytics-dimension-repository_id | 21508865 |
| octolytics-dimension-repository_nwo | bpython/bpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21508865 |
| octolytics-dimension-repository_network_root_nwo | bpython/bpython |
| 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 | 3223a6503d318917691422cdadfbe16cd8fb21e5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width