[Bug 1327979] Review Request: python-notebook - A web-based notebook environment for interactive computing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1327979



--- Comment #19 from Miro Hrončok <mhroncok@xxxxxxxxxx> ---
I believe that the tests does not see the python2 and python3 kernels, because
those kernels first need to get installed with:

pythonX -m ipykernel install

(Where X is 2 and 3.)

This command shall create a directory with kernel.json in it. I believe that
python-ipykernel package shall create those directories and install them to 
/usr/share/jupyter/kernels in order to make them discoverable for our tests
here and maybe also for installed python-notebook. Another problem is that the
above command will fail with our python-ipykernel with:

    ImportError: No module named 'IPython.paths'

as our ipython is old and does not have the paths submodule yet.

I was able to generate the file from a virtualenv and it looks like this:

    {
     "argv": [
      "/home/churchyard/tmp/venv36/bin/python",
      "-m",
      "ipykernel",
      "-f",
      "{connection_file}"
     ],
     "display_name": "Python 3",
     "language": "python"
    }

I will try to modify the python-ipykernel package to install similar files for
/usr/bin/python2 and /usr/bin/python3 and see if it solves the problem.

See
https://ipython.readthedocs.io/en/latest/install/kernel_install.html#kernels-for-python-2-and-3

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]