get_ipython() takes 1 positional argument but 2 were given
时间: 2023-10-16 20:12:43 浏览: 86
This error occurs when you pass an argument to `get_ipython()` function, which does not accept any argument. `get_ipython()` function is used to retrieve the current IPython interpreter instance, and it does not take any argument.
Here's an example of how to use `get_ipython()` function:
```
ipython = get_ipython()
```
Make sure that you are not passing any argument to `get_ipython()` function. If you are still facing the issue, please share your code snippet so that I can assist you better.
阅读全文