Python-kenel λάθους: PermissionError: [ErrNo 13] Δεν επιτρέπεται:

ψήφοι
0

Έχω θέσει ένα περιβάλλον της tensorflow. Θέλω να ελέγξετε αν λειτουργεί well.So ανοίγω το Jupyter Notebook

Όταν ανοίγω Jupyter Notebook και να δημιουργήσουν ένα νέο αρχείο, το δείχνουν kenel λάθος.

Traceback (most recent call last):
  File D:\Anaconda3\envs\tensor36\lib\site-packages\tornado\web.py, line 1699, in _execute
    result = await result
  File D:\Anaconda3\envs\tensor36\lib\site-packages\tornado\gen.py, line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File D:\Anaconda3\envs\tensor36\lib\site-packages\notebook\services\sessions\handlers.py, line 72, in post
    type=mtype))
  File D:\Anaconda3\envs\tensor36\lib\site-packages\tornado\gen.py, line 735, in run
    value = future.result()
  File D:\Anaconda3\envs\tensor36\lib\site-packages\tornado\gen.py, line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File D:\Anaconda3\envs\tensor36\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 D:\Anaconda3\envs\tensor36\lib\site-packages\tornado\gen.py, line 735, in run
    value = future.result()
  File D:\Anaconda3\envs\tensor36\lib\site-packages\tornado\gen.py, line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File D:\Anaconda3\envs\tensor36\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 D:\Anaconda3\envs\tensor36\lib\site-packages\tornado\gen.py, line 735, in run
    value = future.result()
  File D:\Anaconda3\envs\tensor36\lib\site-packages\tornado\gen.py, line 209, in wrapper
    yielded = next(result)
  File D:\Anaconda3\envs\tensor36\lib\site-packages\notebook\services\kernels\kernelmanager.py, line 168, in start_kernel
    super(MappingKernelManager, self).start_kernel(**kwargs)
  File D:\Anaconda3\envs\tensor36\lib\site-packages\jupyter_client\multikernelmanager.py, line 110, in start_kernel
    km.start_kernel(**kwargs)
  File D:\Anaconda3\envs\tensor36\lib\site-packages\jupyter_client\manager.py, line 240, in start_kernel
    self.write_connection_file()
  File D:\Anaconda3\envs\tensor36\lib\site-packages\jupyter_client\connect.py, line 547, in write_connection_file
    kernel_name=self.kernel_name
  File D:\Anaconda3\envs\tensor36\lib\site-packages\jupyter_client\connect.py, line 212, in write_connection_file
    with secure_write(fname) as f:
  File D:\Anaconda3\envs\tensor36\lib\contextlib.py, line 81, in __enter__
    return next(self.gen)
  File D:\Anaconda3\envs\tensor36\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\\Huazhi\\AppData\\Roaming\\jupyter\\runtime\\kernel-c1e93dc8-b336-4fdd-a028-7c001460bc4f.json'
Δημοσιεύθηκε 09/10/2019 στις 18:57
πηγή χρήστη
Σε άλλες γλώσσες...                            

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more