vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 36
声望: 0
Traceback (most recent call last):
  File "c:\vnstudio\lib\site-packages\tornado\web.py", line 1699, in _execute
    result = await result
  File "c:\vnstudio\lib\site-packages\tornado\gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "c:\vnstudio\lib\site-packages\notebook\services\sessions\handlers.py", line 72, in post
    type=mtype))
  File "c:\vnstudio\lib\site-packages\tornado\gen.py", line 735, in run
    value = future.result()
  File "c:\vnstudio\lib\site-packages\tornado\gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "c:\vnstudio\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:\vnstudio\lib\site-packages\tornado\gen.py", line 735, in run
    value = future.result()
  File "c:\vnstudio\lib\site-packages\tornado\gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "c:\vnstudio\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:\vnstudio\lib\site-packages\tornado\gen.py", line 735, in run
    value = future.result()
  File "c:\vnstudio\lib\site-packages\tornado\gen.py", line 209, in wrapper
    yielded = next(result)
  File "c:\vnstudio\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 168, in start_kernel
    super(MappingKernelManager, self).start_kernel(**kwargs)
  File "c:\vnstudio\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
    km.start_kernel(**kwargs)
  File "c:\vnstudio\lib\site-packages\jupyter_client\manager.py", line 240, in start_kernel
    self.write_connection_file()
  File "c:\vnstudio\lib\site-packages\jupyter_client\connect.py", line 547, in write_connection_file
    kernel_name=self.kernel_name
  File "c:\vnstudio\lib\site-packages\jupyter_client\connect.py", line 212, in write_connection_file
    with secure_write(fname) as f:
  File "c:\vnstudio\lib\contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "c:\vnstudio\lib\site-packages\jupyter_client\connect.py", line 102, in secure_write
    with os.fdopen(os.open(fname, open_flag, 0o600), mode) as f:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\caizhanjin\\AppData\\Roaming\\jupyter\\runtime\\kernel-78728b66-a77c-4d1d-9331-7f0c5caa9944.json'

社友们,这个问题有遇到过吗,怎么解决?

Administrator
avatar
加入于:
帖子: 4123
声望: 230

没有访问权限,请使用管理员账户来运行程序

Member
avatar
加入于:
帖子: 36
声望: 0

用Python的交易员 wrote:

没有访问权限,请使用管理员账户来运行程序

问题已解决,谢谢老大~

© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3