Hi all! Like many here, I’m also struggling to install Fast.ai on Windows. Here are my versions:
Windows 10 fully updated
Anaconda 3 with python 3.6.6
I followed the instructions from Jeremy in the first post. Everything goes smooth with no error messages. I then type “jupyter notebook” to launch a notebook.
As soon as I open lesson1.ipynb from within the Notebook browser window, I get a kernel error. Here is the message I get in the terminal window. Can someone help out? I read this thread, and did some basic Googling, and couldn’t find the issue.
[E 09:52:10.228 NotebookApp] Failed to run command:
['C:/Users/herrk/Anaconda3/envs/fastai/bin/python', '-m', 'ipykernel_launcher', '-f', 'C:\\Users\\herrk\\AppData\\Roaming\\jupyter\\runtime\\kernel-c816842b-8813-4e6a-ac95-c2ca5bda5358.json']
PATH='C:\\Users\\herrk\\Anaconda3\\envs\\fastai\\Library\\bin;C:\\Users\\herrk\\Anaconda3\\envs\\fastai\\Library\\bin;C:\\Users\\herrk\\Anaconda3\\envs\\fastai;C:\\Users\\herrk\\Anaconda3\\envs\\fastai\\Library\\mingw-w64\\bin;C:\\Users\\herrk\\Anaconda3\\envs\\fastai\\Library\\usr\\bin;C:\\Users\\herrk\\Anaconda3\\envs\\fastai\\Library\\bin;C:\\Users\\herrk\\Anaconda3\\envs\\fastai\\Scripts;C:\\Users\\herrk\\Anaconda3\\envs\\fastai\\bin;C:\\Users\\herrk\\Anaconda3;C:\\Users\\herrk\\Anaconda3\\Library\\mingw-w64\\bin;C:\\Users\\herrk\\Anaconda3\\Library\\usr\\bin;C:\\Users\\herrk\\Anaconda3\\Library\\bin;C:\\Users\\herrk\\Anaconda3\\Scripts;C:\\Users\\herrk\\Anaconda3\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.0\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.0\\libnvvp;C:\\Program Files\\Python36\\Scripts\\;C:\\Program Files\\Python36\\;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\ProgramData\\Oracle\\Java\\javapath;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)\\NVIDIA Corporation\\PhysX\\Common;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:\\WINDOWS\\System32\\OpenSSH\\;C:\\Users\\herrk\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\herrk\\AppData\\Local\\GitHubDesktop\\bin'
with kwargs:
{'stdin': -1, 'stdout': None, 'stderr': None, 'cwd': 'c:\\Users\\herrk\\Work\\fast.ai\\fastai\\courses\\dl1'}
[E 09:52:10.271 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’, headers={‘Host’: ‘localhost:8888’, ‘User-Agent’: ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0’, ‘Accept’: ‘application/json, text/javascript, /; q=0.01’, ‘Accept-Language’: ‘en-US,en;q=0.5’, ‘Accept-Encoding’: ‘gzip, deflate’, ‘Referer’: ‘http://localhost:8888/notebooks/courses/dl1/lesson1.ipynb’, ‘Content-Type’: ‘application/json’, ‘X-Xsrftoken’: ‘2|db5454b7|0ee7dae5a4ee72daa2614e7c775c5572|1540318360’, ‘X-Requested-With’: ‘XMLHttpRequest’, ‘Content-Length’: ‘102’, ‘Connection’: ‘keep-alive’, ‘Cookie’: ‘username-localhost-8888=“2|1:0|10:1540806713|23:username-localhost-8888|44:YzE1NTljZmI4ZTVjNGY2MTk4YzUwNDhkMDQwNDdlZGU=|9812ac94e99c5462f80005a929c7fd8a4355a84413fca8940c6f558a8b7f7f9b”; _xsrf=2|db5454b7|0ee7dae5a4ee72daa2614e7c775c5572|1540318360’})
Traceback (most recent call last):
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\web.py”, line 1512, in _execute
result = yield result
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\gen.py”, line 1055, in run
value = future.result()
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\concurrent.py”, line 238, in result
raise_exc_info(self._exc_info)
File “”, line 4, in raise_exc_info
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\gen.py”, line 1063, in run
yielded = self.gen.throw(*exc_info)
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\notebook\services\sessions\handlers.py”, line 73, in post
type=mtype))
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\gen.py”, line 1055, in run
value = future.result()
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\concurrent.py”, line 238, in result
raise_exc_info(self._exc_info)
File “”, line 4, in raise_exc_info
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\gen.py”, line 1063, in run
yielded = self.gen.throw(*exc_info)
File “C:\Users\herrk\Anaconda3\envs\fastai\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\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\gen.py”, line 1055, in run
value = future.result()
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\concurrent.py”, line 238, in result
raise_exc_info(self._exc_info)
File “”, line 4, in raise_exc_info
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\gen.py”, line 1063, in run
yielded = self.gen.throw(*exc_info)
File “C:\Users\herrk\Anaconda3\envs\fastai\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\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\gen.py”, line 1055, in run
value = future.result()
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\concurrent.py”, line 238, in result
raise_exc_info(self._exc_info)
File “”, line 4, in raise_exc_info
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\tornado\gen.py”, line 307, in wrapper
yielded = next(result)
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\notebook\services\kernels\kernelmanager.py”, line 160, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\jupyter_client\multikernelmanager.py”, line 110, in start_kernel
km.start_kernel(**kwargs)
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\jupyter_client\manager.py”, line 259, in start_kernel
**kw)
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\jupyter_client\manager.py”, line 204, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\site-packages\jupyter_client\launcher.py”, line 128, in launch_kernel
proc = Popen(cmd, **kwargs)
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\subprocess.py”, line 709, in init
restore_signals, start_new_session)
File “C:\Users\herrk\Anaconda3\envs\fastai\lib\subprocess.py”, line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
[W 09:52:10.346 NotebookApp] Unhandled error
[E 09:52:10.351 NotebookApp] {
“Host”: “localhost:8888”,
“User-Agent”: “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0”,
“Accept”: “application/json, text/javascript, /; q=0.01”,
“Accept-Language”: “en-US,en;q=0.5”,
“Accept-Encoding”: “gzip, deflate”,
“Referer”: “http://localhost:8888/notebooks/courses/dl1/lesson1.ipynb”,
“Content-Type”: “application/json”,
“X-Xsrftoken”: “2|db5454b7|0ee7dae5a4ee72daa2614e7c775c5572|1540318360”,
“X-Requested-With”: “XMLHttpRequest”,
“Content-Length”: “102”,
“Connection”: “keep-alive”,
“Cookie”: “username-localhost-8888=“2|1:0|10:1540806713|23:username-localhost-8888|44:YzE1NTljZmI4ZTVjNGY2MTk4YzUwNDhkMDQwNDdlZGU=|9812ac94e99c5462f80005a929c7fd8a4355a84413fca8940c6f558a8b7f7f9b”; _xsrf=2|db5454b7|0ee7dae5a4ee72daa2614e7c775c5572|1540318360”
}
[E 09:52:10.358 NotebookApp] 500 POST /api/sessions (::1) 195.10ms referer=http://localhost:8888/notebooks/courses/dl1/lesson1.ipynb