我目前正试图将python环境放在一个有节点的环境中,但我得到了错误“pyfile not exist”

2024-10-08 19:21:25 发布

您现在位置:Python中文网/ 问答频道 /正文

我目前正试图将python环境放在一个节点中,但是当我根据这个url(https://flows.nodered.org/flow/778859ca2503db35ff0e12341508efef)实现它时,我在embedded_file_节点设置中得到错误“pyfile not exist”,我选择字符串作为“Output”,当前目录是/home/vcap/app,并设置“Name”来创建_env.sh

我是一个完全的初学者,到目前为止已经自学过了,但是我问了,因为在其他地方没有关于这个细节的其他信息。 我将感谢任何帮助

模板代码如下所示

模板内容(如下)


cd /data
ls -l
python3 --version
#python3 -m venv envtest
#source envtest/bin/activate
ls -l
which python3

Tags: httpsorg模板url节点环境flowls

热门问题