davidbrochart/nbterm

installation error

Shahin-rmz opened this issue · 7 comments

Hello,
here I got the following error when I want to run the app.
Nbterm runs but is not functional.

  File "/home/***/.local/lib/python3.8/site-packages/kernel_driver/driver.py", line 98, in start
    self.kernel_process = await launch_kernel(
  File "/home/***/.local/lib/python3.8/site-packages/kernel_driver/connect.py", line 73, in launch_kernel
    p = await asyncio.create_subprocess_exec(
  File "/usr/lib/python3.8/asyncio/subprocess.py", line 236, in create_subprocess_exec
    transport, protocol = await loop.subprocess_exec(
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1630, in subprocess_exec
    transport = await self._make_subprocess_transport(
  File "/usr/lib/python3.8/asyncio/unix_events.py", line 197, in _make_subprocess_transport
    transp = _UnixSubprocessTransport(self, protocol, args, shell,
  File "/usr/lib/python3.8/asyncio/base_subprocess.py", line 36, in __init__
    self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
  File "/usr/lib/python3.8/asyncio/unix_events.py", line 789, in _start
    self._proc = subprocess.Popen(
  File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)

Exception [Errno 2] No such file or directory: 'python'
Press ENTER to continue...

Thanks for giving me some hint.

Can you post the output of pip freeze?

I've installed the nbterm globally.

nbterm.txt
Here you go

You have some local packages that I cannot install:

$ pip install -r requirements.txt 
ERROR: /home/shahin/Downloads/clockify-cli-master is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).

reqs.txt
that was an experimental project.
deleted it.

$ pip install -r requirements.txt 
Collecting amqp==2.6.0
  Downloading amqp-2.6.0-py2.py3-none-any.whl (47 kB)
     |████████████████████████████████| 47 kB 7.8 MB/s 
Collecting ansiwrap==0.8.4
  Downloading ansiwrap-0.8.4-py2.py3-none-any.whl (8.5 kB)
Collecting anyio==2.2.0
  Using cached anyio-2.2.0-py3-none-any.whl (65 kB)
Collecting appdirs==1.4.4
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
ERROR: Could not find a version that satisfies the requirement apt-xapian-index==0.49 (from versions: none)
ERROR: No matching distribution found for apt-xapian-index==0.49

OK, forget about it. :(
Thanks BTW