简体   繁体   中英

“Procfile” template is not found even when file exists

I am installing frappe bench by mean of a python script they created but in one of the steps, I am getting this error:

jinja2.exceptions.TemplateNotFound: Procfile

By searching the disk, I have found "Procfile" in these folders:

/home/frappe/.bench/bench/config/templates/Procfile
/tmp/.bench/bench/config/templates/Procfile

I tried by copying that file into the folder where I run the python script, and even, I have copied the file into frappe-bench folder, but nothing helped.

Any hint, please?

你正面临这个问题,因为你已经使用(Editable repo)安装了工作台sudo pip install -e ./bench只需删除-e参数并尝试使用sudo pip install ./bench

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM