Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3-jupyter_console: Missing /bin/jupyter-console #23500

Closed
mamins1376 opened this issue Jul 9, 2020 · 3 comments
Closed

python3-jupyter_console: Missing /bin/jupyter-console #23500

mamins1376 opened this issue Jul 9, 2020 · 3 comments

Comments

@mamins1376
Copy link
Contributor

System

  • xuname: Void 5.4.50_1 x86_64 AuthenticAMD notuptodate rrrmFFFFFFFF
  • package: python3-jupyter_console-6.1.0_1

Expected behavior

Jupyter's different modules have their own binaries which are used to execute them.

python2 version already has the file (/bin/jupyter-console2) present.

Actual behavior

/usr/bin/jupyter-console is not shipped in the package; thus leading to this error, even if python3-jupyter_console is installed:

Traceback (most recent call last):
  File "/sbin/jupyter", line 11, in <module>
    load_entry_point('jupyter-core==4.6.3', 'console_scripts', 'jupyter')()
  File "/usr/lib/python3.8/site-packages/jupyter_core/command.py", line 247, in main
    command = _jupyter_abspath(subcommand)
  File "/usr/lib/python3.8/site-packages/jupyter_core/command.py", line 133, in _jupyter_abspath
    raise Exception(
Exception: Jupyter command `jupyter-console` not found.

Steps to reproduce the behavior

Just install python3-jupyter (has the mentioned package as it's direct dependency) and hit jupyter console.

@ericonr
Copy link
Member

ericonr commented Jul 9, 2020

$ xbps-query -Rf python3-jupyter_console
/usr/bin/jupyter-console
/usr/lib/python3.8/site-packages/jupyter_console/__init__.py
/usr/lib/python3.8/site-packages/jupyter_console/__main__.py
/usr/lib/python3.8/site-packages/jupyter_console/_version.py
/usr/lib/python3.8/site-packages/jupyter_console/app.py
/usr/lib/python3.8/site-packages/jupyter_console/completer.py
/usr/lib/python3.8/site-packages/jupyter_console/ptshell.py
/usr/lib/python3.8/site-packages/jupyter_console/tests/__init__.py
/usr/lib/python3.8/site-packages/jupyter_console/tests/test_console.py
/usr/lib/python3.8/site-packages/jupyter_console/tests/test_image_handler.py
/usr/lib/python3.8/site-packages/jupyter_console/tests/writetofile.py
/usr/lib/python3.8/site-packages/jupyter_console/zmqhistory.py
/usr/lib/python3.8/site-packages/jupyter_console-6.1.0-py3.8.egg-info
/usr/share/licenses/python3-jupyter_console/LICENSE

Have you updated the package? This issue was solved a few days ago.

@ericonr
Copy link
Member

ericonr commented Jul 9, 2020

Yes, you're out of date. The latest version is 6.1.0_2.

@sgn sgn closed this as completed Jul 10, 2020
@mamins1376
Copy link
Contributor Author

Oh! sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants