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

FileNotFoundError: [WinError 2] #6

Open
josedusol opened this issue Jun 22, 2020 · 0 comments
Open

FileNotFoundError: [WinError 2] #6

josedusol opened this issue Jun 22, 2020 · 0 comments

Comments

@josedusol
Copy link

Hello. Im getting the following error when trying to run any cell with TLA+ Kernel (python 3 kernel works fine):

Traceback (most recent call last):
  File "C:\Users\foo\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tlaplus_jupyter\kernel.py", line 104, in do_execute
    return self.eval_expr(payload)
  File "C:\Users\foo\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tlaplus_jupyter\kernel.py", line 257, in eval_expr
    out, rc = self.run_proc(cmd, workspace)
  File "C:\Users\foo\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tlaplus_jupyter\kernel.py", line 53, in run_proc
    proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, cwd=workspace)
  File "C:\Users\foo\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\foo\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

System details:

  • Windows 10 19041.329
  • Python 3.8.3
  • pip 20.1.1

The "kernel.json" file:
{"argv": ["C:\\Users\\foo\\AppData\\Local\\Programs\\Python\\Python38-32\\python.exe", "-m", "tlaplus_jupyter", "-f", "{connection_file}"], "codemirror_mode": "tlaplus", "display_name": "TLA\u207a", "language": "tla"}

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

1 participant