These are chat archives for ipython/ipython

18th
Jan 2016
john
@jcoady
Jan 18 2016 18:02
Hi
I noticed that the method
jupyter_client.kernelspec.install_kernel_spec(source_dir, kernel_name=None, user=False, replace=False)
doesn't have a prefix argument but it calls
jupyter_client.kernelspec.KernelSpecManager
install_kernel_spec(source_dir, kernel_name=None, user=False, replace=None, prefix=None)
which does have a prefix argument. Should the first install_kernel_spec have this prefix argument?
Arjun
@Ajju-Rocks
Jan 18 2016 19:09
Hi guys please can someone explain to me what ipython is?
is it any different to normal python?
Anyone here? :(
:worried: :( :( :( :( :(
Min RK
@minrk
Jan 18 2016 19:23
@jcoady yes, they should match exactly.
@Ajju-Rocks IPython is an interactive environment for Python https://ipython.org/
john
@jcoady
Jan 18 2016 19:31

@minrk
Are you going to fix it in the jupyter_client/kernelspec.py

def install_kernel_spec(source_dir, kernel_name=None, user=False, replace=False):
return KernelSpecManager().install_kernel_spec(source_dir, kernel_name,
user, replace)

is missing prefix argument.