Title: IPython 8.1.0 claims to be compatible with Python 3.8, but isn't · Issue #13554 · ipython/ipython · GitHub
Open Graph Title: IPython 8.1.0 claims to be compatible with Python 3.8, but isn't · Issue #13554 · ipython/ipython
X Title: IPython 8.1.0 claims to be compatible with Python 3.8, but isn't · Issue #13554 · ipython/ipython
Description: Steps to reproduce: $ python --version Python 3.8.10 $ pip install ipython $ ipython Traceback (most recent call last): File "/path/to/venv/bin/ipython", line 8, in
Open Graph Description: Steps to reproduce: $ python --version Python 3.8.10 $ pip install ipython $ ipython Traceback (most recent call last): File "/path/to/venv/bin/ipython", line 8, in
X Description: Steps to reproduce: $ python --version Python 3.8.10 $ pip install ipython $ ipython Traceback (most recent call last): File "/path/to/venv/bin/ipython", line 8, in <module> sys.exi...
Opengraph URL: https://github.com/ipython/ipython/issues/13554
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IPython 8.1.0 claims to be compatible with Python 3.8, but isn't","articleBody":"\u003c!-- This is the repository for IPython command line, if you can try to make sure this question/bug/feature belong here and not on one of the Jupyter repositories. \r\n\r\nIf it's a generic Python/Jupyter question, try other forums or discourse.jupyter.org.\r\n\r\nIf you are unsure, it's ok to post here, though, there are few maintainer so you might not get a fast response. \r\n\r\n--\u003e\r\nSteps to reproduce:\r\n```\r\n$ python --version\r\nPython 3.8.10\r\n$ pip install ipython\r\n$ ipython\r\nTraceback (most recent call last):\r\n File \"/path/to/venv/bin/ipython\", line 8, in \u003cmodule\u003e\r\n sys.exit(start_ipython())\r\n File \"/path/to/venv/lib/python3.8/site-packages/IPython/__init__.py\", line 123, in start_ipython\r\n return launch_new_instance(argv=argv, **kwargs)\r\n File \"/path/to/venv/lib/python3.8/site-packages/traitlets/config/application.py\", line 845, in launch_instance\r\n app.initialize(argv)\r\n File \"/path/to/venv/lib/python3.8/site-packages/traitlets/config/application.py\", line 88, in inner\r\n return method(app, *args, **kwargs)\r\n File \"/path/to/venv/lib/python3.8/site-packages/IPython/terminal/ipapp.py\", line 279, in initialize\r\n self.init_shell()\r\n File \"/path/to/venv/lib/python3.8/site-packages/IPython/terminal/ipapp.py\", line 293, in init_shell\r\n self.shell = self.interactive_shell_class.instance(parent=self,\r\n File \"/path/to/venv/lib/python3.8/site-packages/traitlets/config/configurable.py\", line 540, in instance\r\n inst = cls(*args, **kwargs)\r\n File \"/path/to/venv/lib/python3.8/site-packages/IPython/terminal/interactiveshell.py\", line 619, in __init__\r\n super(TerminalInteractiveShell, self).__init__(*args, **kwargs)\r\n File \"/path/to/venv/lib/python3.8/site-packages/IPython/core/interactiveshell.py\", line 529, in __init__\r\n self.init_virtualenv()\r\n File \"/path/to/venv/lib/python3.8/site-packages/IPython/core/interactiveshell.py\", line 788, in init_virtualenv\r\n new_path = p.readlink()\r\nAttributeError: 'PosixPath' object has no attribute 'readlink'\r\n\r\nIf you suspect this is an IPython 8.1.0 bug, please report it at:\r\n https://github.com/ipython/ipython/issues\r\nor send an email to the mailing list at ipython-dev@python.org\r\n\r\nYou can print a more detailed traceback right now with \"%tb\", or use \"%debug\"\r\nto interactively debug it.\r\n\r\nExtra-detailed tracebacks for bug-reporting purposes can be enabled via:\r\n c.Application.verbose_crash=True\r\n```\r\n\r\n`PosixPath.readlink()` [was introduced in Python 3.9](https://docs.python.org/3/library/pathlib.html#pathlib.Path.readlink).\r\n\r\nThank you for looking into this.","author":{"url":"https://github.com/arekfu","@type":"Person","name":"arekfu"},"datePublished":"2022-02-25T16:29:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/13554/ipython/issues/13554"}
| 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:08bd8ad6-e26c-70a5-9a3c-8cde9ea65abd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4D4:3B8B53:153DB41:1F072AB:6A4E441C |
| html-safe-nonce | 203b2a1ed6748818de7406410502c000b4837f0e3a849f192e87154754d8af4c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEQ0OjNCOEI1MzoxNTNEQjQxOjFGMDcyQUI6NkE0RTQ0MUMiLCJ2aXNpdG9yX2lkIjoiNTcwNjA2MDMyNTkzNTAwNjc0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 63fd770078811dca09a7b942d61949c50237ab084fd7fbd2623ed9b653c2ad7d |
| hovercard-subject-tag | issue:1150638388 |
| 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/ipython/ipython/13554/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f46b3c33183b93fe1be8f22e1cd8c129baed71b865e3d8b4e38c036e97b427d5/ipython/ipython/issues/13554 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f46b3c33183b93fe1be8f22e1cd8c129baed71b865e3d8b4e38c036e97b427d5/ipython/ipython/issues/13554 |
| og:image:alt | Steps to reproduce: $ python --version Python 3.8.10 $ pip install ipython $ ipython Traceback (most recent call last): File "/path/to/venv/bin/ipython", line 8, in |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arekfu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/ipython/ipython git https://github.com/ipython/ipython.git |
| octolytics-dimension-user_id | 230453 |
| octolytics-dimension-user_login | ipython |
| octolytics-dimension-repository_id | 658518 |
| octolytics-dimension-repository_nwo | ipython/ipython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 658518 |
| octolytics-dimension-repository_network_root_nwo | ipython/ipython |
| 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 | 9fabff9b8b127e686a3ec86f91422e818056ca2c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width