Hola

27 views
Skip to first unread message

mirana...@gmail.com

unread,
Oct 15, 2018, 3:09:07 PM10/15/18
to Project Jupyter
By mistake I deleted and environment, so I created a new one. And I installed jupyther again but when I start it I have  the following error:

[I 14:01:34.051 NotebookApp] The port 8888 is already in use, trying another port.
[I 14:01:34.051 NotebookApp] The port 8889 is already in use, trying another port.
[I 14:01:34.052 NotebookApp] The port 8890 is already in use, trying another port.
[I 14:01:34.078 NotebookApp] Serving notebooks from local directory: C:\Users\areli_romero
[I 14:01:34.078 NotebookApp] The Jupyter Notebook is running at:
[I 14:01:34.078 NotebookApp] http://localhost:8891/?token=3dc37b99712327a897c6e71cf6af38c7530f8f3eb8681360
[I 14:01:34.078 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 14:01:34.081 NotebookApp]
   
    Copy/paste this URL into your browser when you connect for the first time,
    to login with a token:
        http://localhost:8891/?token=3dc37b99712327a897c6e71cf6af38c7530f8f3eb8681360
[I 14:01:34.245 NotebookApp] Accepting one-time-token-authenticated connection from ::1
[E 14:01:49.392 NotebookApp] Failed to run command:
    ['C:/Users/areli_romero/AppData/Local/Continuum/anaconda3/envs/mlcourse/bin/python', '-m', 'ipykernel_launcher', '-f', 'C:\\Users\\areli_romero\\AppData\\Roaming\\jupyter\\runtime\\kernel-aac43c88-3c44-4504-ba71-39b7e9d3ccaf.json']
        PATH='C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3\\envs\\mlcourse\\Library\\bin;C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3\\envs\\mlcourse;C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3\\envs\\mlcourse\\Library\\mingw-w64\\bin;C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3\\envs\\mlcourse\\Library\\usr\\bin;C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3\\envs\\mlcourse\\Library\\bin;C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3\\envs\\mlcourse\\Scripts;C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3\\envs\\mlcourse\\bin;C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3;C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3\\Library\\mingw-w64\\bin;C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3\\Library\\usr\\bin;C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3\\Library\\bin;C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3\\Scripts;C:\\Users\\areli_romero\\AppData\\Local\\Continuum\\anaconda3\\Library\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;c:\\Oracle11g\\product\\11.2.0\\client_1\\bin;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\SASHome\\SASFoundation\\9.4\\ets\\sasexe;C:\\Program Files\\SASHome\\Secure\\ccme4;C:\\Program Files\\SASHome\\x86\\Secure\\ccme4;C:\\Program Files\\SAS94\\SASHome\\Secure\\ccme4;C:\\Program Files\\SAS94\\SASHome\\x86\\Secure\\ccme4;C:\\Program Files\\SAS94\\SASHome\\SASFoundation\\9.4\\ets\\sasexe;C:\\Users\\areli_romero\\AppData\\Local\\Microsoft\\WindowsApps;'
        with kwargs:
    {'stdin': -1, 'cwd': 'C:\\Users\\areli_romero', 'stderr': None, 'stdout': None}
   
[E 14:01:49.392 NotebookApp] Uncaught exception POST /api/sessions (::1)
    HTTPServerRequest(protocol='http', host='localhost:8891', method='POST', uri='/api/sessions', version='HTTP/1.1', remote_ip='::1')
    Traceback (most recent call last):
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\tornado\web.py", line 1592, in _execute
        result = yield result
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\tornado\gen.py", line 1133, in run
        value = future.result()
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\asyncio\futures.py", line 294, in result
        raise self._exception
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\tornado\gen.py", line 1141, in run
        yielded = self.gen.throw(*exc_info)
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\notebook\services\sessions\handlers.py", line 73, in post
        type=mtype))
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\tornado\gen.py", line 1133, in run
        value = future.result()
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\asyncio\futures.py", line 294, in result
        raise self._exception
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\tornado\gen.py", line 1141, in run
        yielded = self.gen.throw(*exc_info)
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 79, in create_session
        kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\tornado\gen.py", line 1133, in run
        value = future.result()
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\asyncio\futures.py", line 294, in result
        raise self._exception
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\tornado\gen.py", line 1141, in run
        yielded = self.gen.throw(*exc_info)
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 92, in start_kernel_for_session
        self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\tornado\gen.py", line 1133, in run
        value = future.result()
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\asyncio\futures.py", line 294, in result
        raise self._exception
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\tornado\gen.py", line 326, in wrapper
        yielded = next(result)
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 160, in start_kernel
        super(MappingKernelManager, self).start_kernel(**kwargs)
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
        km.start_kernel(**kwargs)
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\jupyter_client\manager.py", line 259, in start_kernel
        **kw)
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\jupyter_client\manager.py", line 204, in _launch_kernel
        return launch_kernel(kernel_cmd, **kw)
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\site-packages\jupyter_client\launcher.py", line 128, in launch_kernel
        proc = Popen(cmd, **kwargs)
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\subprocess.py", line 676, in __init__
        restore_signals, start_new_session)
      File "C:\Users\areli_romero\AppData\Local\Continuum\anaconda3\envs\mlcourse\lib\subprocess.py", line 957, in _execute_child
        startupinfo)
    FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado
[W 14:01:49.392 NotebookApp] Unhandled error
[E 14:01:49.392 NotebookApp] {
      "Accept": "application/json, text/javascript, */*; q=0.01",
      "X-Requested-With": "XMLHttpRequest",

I tried this:

t is safe to ignore this error.

If you do want to solve it, try running the command "conda install nodejs" and then running Jupyter again.

I am a little surprised this happened on one machine and not on the other. I don't know why that would happen.


But it didn't work?

What can I do?



Reply all
Reply to author
Forward
0 new messages