|
楼主 |
发表于 2020-8-18 14:02:31
|
显示全部楼层
按照你给你建议,我调整了一下 conda的镜像源改成清华镜像源地址顺利按照jupyter notebook 后 启动jupyter notebook 运行python 出现启动服务错误,以下是错误信息:
Traceback (most recent call last):
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\tornado\web.py", line 1703, in _execute
result = await result
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\notebook\services\sessions\handlers.py", line 69, in post
model = yield maybe_future(
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "d:\programdata\anaconda3\envs\python38\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:\programdata\anaconda3\envs\python38\lib\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 100, in start_kernel_for_session
kernel_id = yield maybe_future(
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 176, in start_kernel
kernel_id = await maybe_future(self.pinned_superclass.start_kernel(self, **kwargs))
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\jupyter_client\multikernelmanager.py", line 186, in start_kernel
km.start_kernel(**kwargs)
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\jupyter_client\manager.py", line 304, in start_kernel
kernel_cmd, kw = self.pre_start_kernel(**kw)
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\jupyter_client\manager.py", line 251, in pre_start_kernel
self.write_connection_file()
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\jupyter_client\connect.py", line 468, in write_connection_file
self.connection_file, cfg = write_connection_file(self.connection_file,
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\jupyter_client\connect.py", line 138, in write_connection_file
with secure_write(fname) as f:
File "d:\programdata\anaconda3\envs\python38\lib\contextlib.py", line 113, in __enter__
return next(self.gen)
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\jupyter_core\paths.py", line 435, in secure_write
win32_restrict_file_to_user(fname)
File "d:\programdata\anaconda3\envs\python38\lib\site-packages\jupyter_core\paths.py", line 361, in win32_restrict_file_to_user
import win32api
ImportError: DLL load failed while importing win32api: 找不到指定的模块。
|
|