Skip to content

FAILED tests/test_troubleshoot.py::test_troubleshoot #363

@tornaria

Description

@tornaria

This test presumes pip is installed. If not:

FAILED tests/test_troubleshoot.py::test_troubleshoot - AssertionError: assert 'pip list' in '$PATH:\n\t/builddir/python3-jupyter_c...

Here's the full output of jupyter_core.troubleshoot.main():

$ python -c 'from jupyter_core.troubleshoot import main ; main()'
/usr/bin/python: No module named pip
$PATH:
	/usr/local/sbin
	/usr/local/bin
	/usr/bin
	/usr/sbin
	/sbin
	/bin

sys.path:
	
	/usr/lib/python311.zip
	/usr/lib/python3.11
	/usr/lib/python3.11/lib-dynload
	/usr/lib/python3.11/site-packages

sys.executable:
	/usr/bin/python

sys.version:
	3.11.5 (main, Aug 27 2023, 03:49:50) [GCC 12.2.0]

platform.platform():
	Linux-6.4.15_1-x86_64-with-glibc2.36

which -a jupyter:
	/usr/bin/jupyter
	/usr/sbin/jupyter
	/sbin/jupyter
	/bin/jupyter

BTW, which is not in posix. The posix way is to use command -v jupyter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions