title: Kernel error (Errno 13 Permission denied) in Jupyter Notebook, Windows 10
body: <p>I have installed Jupyter Notebook on Windows 10. I can execute jupyter notebook command. It opens and shows a list of current path directories. I also can create or open a notebook. But when I do it I get Kernel error in the top right corner. After clicking on it this window appears:</p>
  <blockquote>
  <p>Failed to start the kernel</p>
  <p>Unhandled error</p>
  </blockquote>
  <pre><code>Traceback (most recent call last):
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\tornado\web.py&quot;, line 1699, in _execute
      result = await result
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\asyncio\futures.py&quot;, line 383, in __iter__
      return self.result()  # May raise too.
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\asyncio\futures.py&quot;, line 294, in result
      raise self._exception
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\tornado\gen.py&quot;, line 742, in run
      yielded = self.gen.throw(*exc_info)  # type: ignore
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\notebook\services\sessions\handlers.py&quot;, line 72, in post
      type=mtype))
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\tornado\gen.py&quot;, line 735, in run
      value = future.result()
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\asyncio\futures.py&quot;, line 294, in result
      raise self._exception
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\tornado\gen.py&quot;, line 742, in run
      yielded = self.gen.throw(*exc_info)  # type: ignore
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\notebook\services\sessions\sessionmanager.py&quot;, line 88, in create_session
      kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\tornado\gen.py&quot;, line 735, in run
      value = future.result()
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\asyncio\futures.py&quot;, line 294, in result
      raise self._exception
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\tornado\gen.py&quot;, line 742, in run
      yielded = self.gen.throw(*exc_info)  # type: ignore
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\notebook\services\sessions\sessionmanager.py&quot;, line 101, in start_kernel_for_session
      self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\tornado\gen.py&quot;, line 735, in run
      value = future.result()
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\asyncio\futures.py&quot;, line 294, in result
      raise self._exception
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\tornado\gen.py&quot;, line 209, in wrapper
      yielded = next(result)
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\notebook\services\kernels\kernelmanager.py&quot;, line 168, in start_kernel
      super(MappingKernelManager, self).start_kernel(**kwargs)
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\jupyter_client\multikernelmanager.py&quot;, line 110, in start_kernel
      km.start_kernel(**kwargs)
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\jupyter_client\manager.py&quot;, line 240, in start_kernel
      self.write_connection_file()
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\jupyter_client\connect.py&quot;, line 547, in write_connection_file
      kernel_name=self.kernel_name
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\jupyter_client\connect.py&quot;, line 212, in write_connection_file
      with secure_write(fname) as f:
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\contextlib.py&quot;, line 59, in __enter__
      return next(self.gen)
    File &quot;c:\users\lola\appdata\local\programs\python\python35\lib\site-packages\jupyter_client\connect.py&quot;, line 102, in secure_write
      with os.fdopen(os.open(fname, open_flag, 0o600), mode) as f:
  PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Lola\\AppData\\Roaming\\jupyter\\runtime\\kernel-fd884f4e-8208-4b8e-9db2-c048f869e042.json'
  </code></pre>
  <p>The code in my file is not highlighted in different colors and when I run it nothing happens.</p>
  <p>I am new to programming, so please try to give advice in simple words, describing each step in detail.</p>
  <p>In the past, I've tried to delete Python, install Python in different versions, install Anaconda. In addition, in order to work with tensorflow, I've created a special environment. But this error stays the same. I suspect the problem is a double backslash (&quot;//&quot;) in the path, but I have absolutely no idea how to fix this. But perhaps the problem is something else.</p>