Bonjour,


J'ai installé miniconda de manière à avoir une solution portable sur clé USB. Pour l'installation des différents modules, tout fonctionne, mais pour Jupyter, tout fonctionne bien sur ma machine, mais dès que je test sur un autre ordinateur, Jupyter ne fonctionne plus :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
 
[I 16:19:51.566 NotebookApp] Serving notebooks from local directory: D:\jupyter
[I 16:19:51.566 NotebookApp] The Jupyter Notebook is running at:
[I 16:19:51.566 NotebookApp] http://localhost:8888/?token=f3feb3e3d0c6e6a36cd2dcd9109b41014eb28f48750ed599
[I 16:19:51.566 NotebookApp]  or http://127.0.0.1:8888/?token=f3feb3e3d0c6e6a36cd2dcd9109b41014eb28f48750ed599
[I 16:19:51.566 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 16:19:51.644 NotebookApp]
 
    To access the notebook, open this file in a browser:
        file:///C:/Users/Nous/AppData/Roaming/jupyter/runtime/nbserver-12608-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=f3feb3e3d0c6e6a36cd2dcd9109b41014eb28f48750ed599
     or http://127.0.0.1:8888/?token=f3feb3e3d0c6e6a36cd2dcd9109b41014eb28f48750ed599
[E 16:20:09.684 NotebookApp] Failed to run command:
    ['D:/EduPython3.0/Logiciel-v3/App\\python.exe', '-m', 'ipykernel_launcher', '-f', 'C:\\Users\\Nous\\AppData\\Roaming\\jupyter\\runtime\\kernel-27f83672-5690-4e79-b27d-ba38e4349631.json']
        PATH='C:\\Portable Applications\\Edup3v3\\App;C:\\Portable Applications\\Edup3v3\\App\\Library\\bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files\\Pandoc\\;C:\\Program Files\\MiKTeX 2.9\\miktex\\bin\\x64\\;C:\\Users\\Nous\\AppData\\Local\\Microsoft\\WindowsApps;'
        with kwargs:
    {'stdin': -1, 'stdout': None, 'stderr': None, 'cwd': 'D:\\jupyter', 'close_fds': False}
 
[E 16:20:09.684 NotebookApp] Uncaught exception POST /api/sessions (::1)
    HTTPServerRequest(protocol='http', host='localhost:8888', method='POST', uri='/api/sessions', version='HTTP/1.1', remote_ip='::1')
    Traceback (most recent call last):
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\tornado\web.py", line 1703, in _execute
        result = await result
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\tornado\gen.py", line 742, in run
        yielded = self.gen.throw(*exc_info)  # type: ignore
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\notebook\services\sessions\handlers.py", line 72, in post
        type=mtype))
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\tornado\gen.py", line 735, in run
        value = future.result()
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\tornado\gen.py", line 742, in run
        yielded = self.gen.throw(*exc_info)  # type: ignore
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 88, in create_session
        kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\tornado\gen.py", line 735, in run
        value = future.result()
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\tornado\gen.py", line 742, in run
        yielded = self.gen.throw(*exc_info)  # type: ignore
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 101, in start_kernel_for_session
        self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\tornado\gen.py", line 735, in run
        value = future.result()
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\tornado\gen.py", line 209, in wrapper
        yielded = next(result)
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 168, in start_kernel
        super(MappingKernelManager, self).start_kernel(**kwargs)
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\jupyter_client\multikernelmanager.py", line 158, in start_kernel
        km.start_kernel(**kwargs)
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\jupyter_client\manager.py", line 305, in start_kernel
        self.kernel = self._launch_kernel(kernel_cmd, **kw)
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\jupyter_client\manager.py", line 212, in _launch_kernel
        return launch_kernel(kernel_cmd, **kw)
      File "C:\Portable Applications\Edup3v3\App\lib\site-packages\jupyter_client\launcher.py", line 135, in launch_kernel
        proc = Popen(cmd, **kwargs)
      File "C:\Portable Applications\Edup3v3\App\lib\subprocess.py", line 800, in __init__
        restore_signals, start_new_session)
      File "C:\Portable Applications\Edup3v3\App\lib\subprocess.py", line 1207, in _execute_child
        startupinfo)
    FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable
[W 16:20:09.700 NotebookApp] Unhandled error
[E 16:20:09.700 NotebookApp] {
      "Host": "localhost:8888",
      "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0",
      "Accept": "application/json, text/javascript, */*; q=0.01",
      "Accept-Language": "fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3",
      "Accept-Encoding": "gzip, deflate",
      "Content-Type": "application/json",
      "X-Xsrftoken": "2|88e75e41|ef2a6a24fb8ac2e5bb48cb7635ac8113|1593612316",
      "X-Requested-With": "XMLHttpRequest",
      "Content-Length": "110",
      "Origin": "http://localhost:8888",
      "Connection": "keep-alive",
      "Referer": "http://localhost:8888/notebooks/Choix%20pour%20Python%20au%20Lyc%C3%A9e.ipynb",
      "Cookie": "username-localhost-8888=\"2|1:0|10:1593613193|23:username-localhost-8888|44:NGY4ZmQ4NmI4YTUwNGE0ZWFlYjNhMjZmZDUzYjkxYWI=|509b7c890ae66348119b13a38da47c14cc1371b9300c91ec9a876b63c7712b3e\"; _xsrf=2|88e75e41|ef2a6a24fb8ac2e5bb48cb7635ac8113|1593612316; username-localhost-8889=\"2|1:0|10:1593613142|23:username-localhost-8889|44:M2JlODBhZmI0OWNhNDRlMTg0NDViNDA1ZDg1NzQ0MWE=|caa8f54b5c94a873615fa8850c4ddbd9de4e5fa37cef20fe5daae5a98a6fca7d\""
    }
[E 16:20:09.715 NotebookApp] 500 POST /api/sessions (::1) 162.91ms referer=http://localhost:8888/notebooks/Choix%20pour%20Python%20au%20Lyc%C3%A9e.ipynb
Avez-vous une idée d'où cela peut venir ?
Merci d'avance,

Vincent