I have tried the following steps after the installation of Anaconda's latest version. I am not able to get the autocomplete feature working...
Any suggestions on what else I need to try...
Step 1 1) pip install jupyter_contrib_nbextensions 2) pip install jupyter_nbextensions_configurator 3) jupyter contrib nbextension install --user 4) jupyter nbextensions_configurator enable --user
Step 2: Open jupyter notebook - click on nbextensions tab - unckeck disable configuration for nbextensions without explicit compatibility - put a check on Hinterland
I was also having this problem. I fixed it by disabling jedi:
# Disable jedi autocompleter
%config Completer.use_jedi = False
One of the reasons behind this issue can be the crashes of kernel when you try to use the autocompletion. I faced this issue and by observing the logs generated in the terminal used to open jupyter found that every time I try to use the autocompleter, kernel crashes. with the following solution, I resolved the issue in macOs 11.1 Big Sur.
You can just set the Ipython to use something else rather than jedi to do the completion task like pyreadline which can be installed by pip3 install pyreadline
. But first you have to disable jedi in the Ipython kernel with the following command:
%config IPCompleter.use_jedi = False
This command will resolve the issue in the current session and if you want to change this configuration in the config file of Ipython kernel you can use the following commands:
ipython profile create
making a new config file for the ipython in the following directory:
/Users/zhivarsourati/.ipython/profile_default
and you can append the following line to the file ipython_kernel_config.py
generated with the previous command:
c.IPCompleter.use_jedi = False
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With