Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
When writing code I am able to use tab to auto-complete when I am using the default Python 2 environment in DSS, but when I change the kernel of my notebook to be any of the python envs I have created I lose the ability to use tab to auto-complete?
I have looked in the setting and the documentation and I cannot see any way of making sure it is enabled. If it helps I am on Dataiku version 7
+1, I think that I've seen the same thing.
I'm not clear that I know exactly what you mean by an impersonated user.
That leaves me unclear on how to resolve this issue on a local Macintosh design node install?
What needs to be done to resolve this:
For the community edition where you can not change the login name is there a way to resolve these issues? Thanks for your help.
OK, so impersonated user is the Unix user that runs the jupyter notebook when UIF is enabled:
Based on your instructions I made the following changes to one of the code environments I use with Jupyter Notebooks. Is this what you had intended? I do have a tab-based auto-complete.
Is there a way to get an auto-complete popup like MS Intelesense to come up?
I mentioned v7.16.0 as the version that is being installed by default for Python3.6 code envs. During my tests, autocomplete and autosuggestion wasn't working with this ipython version so I installed 5.5.0 (the same one as we have in built-in code env) and get both features working as expected:
On the first attempt, I was not able to downgrade to this version. I ended up with some sort of problem with the fbprophet library that was previously installed in this code environment.
ERROR: Failed building wheel for fbprophet
And ended up with some other problem that kept me from Python all together. Not clear why. And I now have a broken code environment. I don't have time to sort this out at the moment.
However, the experience left me with a question:
That seems like a fairly large downgrade...
Do you have any sense of anything important we might loose in terms of features, or increased security vulnerabilities?
Do you have any sense when more recent version will be usable with DSS?
Of course, every code-env has a specific set of packages and one package change can break others. I cannot say that fbprophet is a relatively easy-to-install package. So if you have deps issues with python 5.5.0 you will need to revert back it to 7.16.0 (original version) and your env should return back to normal. Sure, no guarantee that autocomplete feature will work in this case.
I just run a test to check fbprophet package compatibility with ipython==5.5.0 and had no issues installing it:
From your screenshot, you are using conda while I have used regular pip env. That might be the root cause of the issue for your specific env.
Sorry agreed. Sorry for cluttering up this thread.
So, the tool that I think I'm thinking about that allows the IntelliSense-like auto-completion seems to be hinterland a nbextensions. I'm not clear if it is supported at some level by DSS.
And I eventually found this thread as well that seems to reference a way back to auto-complete experience. (w/o tab)
We are using conda (only) for DSS 7.0
and by default when creating python3.6 code environment ipython==7.6.1 is getting installed.
How can we include ipython>=5.5,<5.6 part of conda?
Will it affect any other inbuilt environment?
Thanks & regards,
Is there any reference link which can be followed like which version support what.... for example if I want to use Python3.6 with ipython 7.9.0 what version of jedi or any other package need to upgrade/downgrade to make jupyter autocomplete work.
%config Completer.use_jedi = False