无法安装tensorflow 2.0

huangapple go评论48阅读模式
英文:

Can't install tensorflow 2.0

问题

请求帮助,无法安装
输入图像描述
跟踪回溯(最近的调用最后):

文件 "D:\Software_Anaconda\lib\site-packages\tornado\web.py", 第 1704 行, 在 _execute 方法中:

result = await result

文件 "D:\Software_Anaconda\lib\asyncio\tasks.py", 第 328 行, 在 __wakeup 方法中:

future.result()

文件 "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", 第 769 行, 在 run 方法中:

yielded = self.gen.throw(*exc_info)  # type: ignore

文件 "D:\Software_Anaconda\lib\site-packages\notebook\services\sessions\handlers.py", 第 74 行, 在 post 方法中:

model = yield maybe_future(

文件 "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", 第 762 行, 在 run 方法中:

value = future.result()

文件 "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", 第 769 行, 在 run 方法中:

yielded = self.gen.throw(*exc_info)  # type: ignore

文件 "D:\Software_Anaconda\lib\site-packages\notebook\services\sessions\sessionmanager.py", 第 98 行, 在 create_session 方法中:

kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)

文件 "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", 第 762 行, 在 run 方法中:

value = future.result()

文件 "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", 第 769 行, 在 run 方法中:

yielded = self.gen.throw(*exc_info)  # type: ignore

文件 "D:\Software_Anaconda\lib\site-packages\notebook\services\sessions\sessionmanager.py", 第 110 行, 在 start_kernel_for_session 方法中:

kernel_id = yield maybe_future(

文件 "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", 第 762 行, 在 run 方法中:

value = future.result()

文件 "D:\Software_Anaconda\lib\asyncio\futures.py", 第 201 行, 在 result 方法中:

raise self._exception

文件 "D:\Software_Anaconda\lib\asyncio\tasks.py", 第 256 行, 在 __step 方法中:

result = coro.send(None)

文件 "D:\Software_Anaconda\lib\site-packages\notebook\services\kernels\kernelmanager.py", 第 176 行, 在 start_kernel 方法中:

kernel_id = await maybe_future(self.pinned_superclass.start_kernel(self, **kwargs))

文件 "D:\Software_Anaconda\lib\site-packages\jupyter_client\multikernelmanager.py", 第 186 行, 在 start_kernel 方法中:

km.start_kernel(**kwargs)

文件 "D:\Software_Anaconda\lib\site-packages\jupyter_client\manager.py", 第 341 行, 在 start_kernel 方法中:

self.kernel = self._launch_kernel(kernel_cmd, **kw)

文件 "D:\Software_Anaconda\lib\site-packages\jupyter_client\manager.py", 第 249 行, 在 _launch_kernel 方法中:

return launch_kernel(kernel_cmd, **kw)

文件 "D:\Software_Anaconda\lib\site-packages\jupyter_client\launcher.py", 第 132 行, 在 launch_kernel 方法中:

proc = Popen(cmd, **kwargs)

文件 "D:\Software_Anaconda\lib\subprocess.py", 第 951 行, 在 init 方法中:

self._execute_child(args, executable, preexec_fn, close_fds,

文件 "D:\Software_Anaconda\lib\subprocess.py", 第 1420 行, 在 _execute_child 方法中:

hp, ht, pid, tid = _winapi.CreateProcess(executable, args,

FileNotFoundError: [WinError 2] 系统找不到指定的文件

英文:

Request help as can't install
enter image description here
Traceback (most recent call last):

File "D:\Software_Anaconda\lib\site-packages\tornado\web.py", line 1704, in _execute

result = await result

File "D:\Software_Anaconda\lib\asyncio\tasks.py", line 328, in __wakeup

future.result()

File "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", line 769, in run

yielded = self.gen.throw(*exc_info)  # type: ignore

File "D:\Software_Anaconda\lib\site-packages\notebook\services\sessions\handlers.py", line 74, in post

model = yield maybe_future(

File "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", line 762, in run

value = future.result()

File "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", line 769, in run

yielded = self.gen.throw(*exc_info)  # type: ignore

File "D:\Software_Anaconda\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 98, in create_session

kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)

File "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", line 762, in run

value = future.result()

File "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", line 769, in run

yielded = self.gen.throw(*exc_info)  # type: ignore

File "D:\Software_Anaconda\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 110, in start_kernel_for_session

kernel_id = yield maybe_future(

File "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", line 762, in run

value = future.result()

File "D:\Software_Anaconda\lib\asyncio\futures.py", line 201, in result

raise self._exception

File "D:\Software_Anaconda\lib\asyncio\tasks.py", line 256, in __step

result = coro.send(None)

File "D:\Software_Anaconda\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:\Software_Anaconda\lib\site-packages\jupyter_client\multikernelmanager.py", line 186, in start_kernel

km.start_kernel(**kwargs)

File "D:\Software_Anaconda\lib\site-packages\jupyter_client\manager.py", line 341, in start_kernel

self.kernel = self._launch_kernel(kernel_cmd, **kw)

File "D:\Software_Anaconda\lib\site-packages\jupyter_client\manager.py", line 249, in _launch_kernel

return launch_kernel(kernel_cmd, **kw)

File "D:\Software_Anaconda\lib\site-packages\jupyter_client\launcher.py", line 132, in launch_kernel

proc = Popen(cmd, **kwargs)

File "D:\Software_Anaconda\lib\subprocess.py", line 951, in init

self._execute_child(args, executable, preexec_fn, close_fds,

File "D:\Software_Anaconda\lib\subprocess.py", line 1420, in _execute_child

hp, ht, pid, tid = _winapi.CreateProcess(executable, args,

FileNotFoundError: [WinError 2] The system cannot find the file specified

Request help as can't install
enter image description here
Traceback (most recent call last):

File "D:\Software_Anaconda\lib\site-packages\tornado\web.py", line 1704, in _execute

result = await result

File "D:\Software_Anaconda\lib\asyncio\tasks.py", line 328, in __wakeup

future.result()

File "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", line 769, in run

yielded = self.gen.throw(*exc_info)  # type: ignore

File "D:\Software_Anaconda\lib\site-packages\notebook\services\sessions\handlers.py", line 74, in post

model = yield maybe_future(

File "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", line 762, in run

value = future.result()

File "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", line 769, in run

yielded = self.gen.throw(*exc_info)  # type: ignore

File "D:\Software_Anaconda\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 98, in create_session

kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)

File "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", line 762, in run

value = future.result()

File "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", line 769, in run

yielded = self.gen.throw(*exc_info)  # type: ignore

File "D:\Software_Anaconda\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 110, in start_kernel_for_session

kernel_id = yield maybe_future(

File "D:\Software_Anaconda\lib\site-packages\tornado\gen.py", line 762, in run

value = future.result()

File "D:\Software_Anaconda\lib\asyncio\futures.py", line 201, in result

raise self._exception

File "D:\Software_Anaconda\lib\asyncio\tasks.py", line 256, in __step

result = coro.send(None)

File "D:\Software_Anaconda\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:\Software_Anaconda\lib\site-packages\jupyter_client\multikernelmanager.py", line 186, in start_kernel

km.start_kernel(**kwargs)

File "D:\Software_Anaconda\lib\site-packages\jupyter_client\manager.py", line 341, in start_kernel

self.kernel = self._launch_kernel(kernel_cmd, **kw)

File "D:\Software_Anaconda\lib\site-packages\jupyter_client\manager.py", line 249, in _launch_kernel

return launch_kernel(kernel_cmd, **kw)

File "D:\Software_Anaconda\lib\site-packages\jupyter_client\launcher.py", line 132, in launch_kernel

proc = Popen(cmd, **kwargs)

File "D:\Software_Anaconda\lib\subprocess.py", line 951, in init

self._execute_child(args, executable, preexec_fn, close_fds,

File "D:\Software_Anaconda\lib\subprocess.py", line 1420, in _execute_child

hp, ht, pid, tid = _winapi.CreateProcess(executable, args,

FileNotFoundError: [WinError 2] The system canno

答案1

得分: 0

似乎您的系统中存在TensorFlow安装问题。

请参考TF安装官方链接,按照系统操作系统的所有逐步说明来安装TensorFlow。

英文:

(As the commented solution worked, hence adding this in the answer section for the community benefit.)

It seems there is tensorflow installation issue in your system.

> Please refer to the TF install official link to install
> tensorflow by following all the step by step instructions mentioned as
> per your system OS.

huangapple
  • 本文由 发表于 2023年6月15日 20:06:32
  • 转载请务必保留本文链接:https://go.coder-hub.com/76482297.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定