Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The meaning of 'Start cannot spawn child process: No such file or directory' upon running Tensorflow

Tensorflow 2.9.1 on Ubuntu 20.04 with CUDA 11.2 keeps writing to the stdout the following error whenever I try to build a few layers:

2022-06-05 08:32:29.319040: I tensorflow/stream_executor/cuda/cuda_dnn.cc:384] Loaded cuDNN version 8100
2022-06-05 08:32:29.527708: I tensorflow/core/platform/default/subprocess.cc:304] Start cannot spawn child process: No such file or directory

No traceback or anything. The model seems to build normally, though, but I wonder if there are any performance implications.

What can be the reason of this error? Is there a way to increase the verbosity of the output without rebuilding the Tensorflow binary?

like image 250
Misha Avatar asked Nov 18 '25 03:11

Misha


1 Answers

Execute

$ export PATH="${PATH}:/usr/local/nvidia/bin:/usr/local/cuda/bin"

before starting your cPython notebook kernel / interpreter.

like image 159
J_H Avatar answered Nov 19 '25 17:11

J_H