Skip to content

Windows path 7 Error: End Of File #22

@damistry

Description

@damistry

Sorry if the title isn't that useful.

Im using windows. I installed the gnuplot_kernel and tried to run plot sin(x) and I get the error
"Error: gnuplot not found"
In a python kernel running

from jupyter_client.kernelspec import KernelSpecManager
ksm = KernelSpecManager()
ksm.find_kernel_specs()

I get an output of

{'gnuplot': 'C:\\Users\\deves\\AppData\\Roaming\\jupyter\\kernels\\gnuplot',
 'python3': 'C:\\ProgramData\\Anaconda3\\share\\jupyter\\kernels\\python3'}

Looking at the kernel.json it gives the expected
{"argv": ["/usr/bin/python", "-m", "gnuplot_kernel", "-f", "{connection_file}"], "display_name": "gnuplot", "language": "gnuplot", "name": "gnuplot"}

If I copy gnuplot.exe to C:\WINDOWS\ then gnuplot is found but then I get an error of:

Error: End Of File (EOF).
<pexpect.popen_spawn.PopenSpawn object at 0x000001CC7CC52240>
searcher: searcher_re:
    0: re.compile('\\w*> $')
    1: re.compile('PEXPECT_PROMPT_')
    2: re.compile('PEXPECT_PROMPT+')

Any ideas on whats going on? If someone can give me a pointer on where to start then I'll give it a go at working out whats wrong too. Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions