[英]Getting error while running doppler run that the executable file not found in %PATH%
I am new to doppler.我是多普勒的新手。 When I run the following command
doppler run -- python3
I get an error saying Doppler Error: exec: "python3": executable file not found in %PATH%
.当我运行以下命令时
doppler run -- python3
我收到一条错误消息Doppler Error: exec: "python3": executable file not found in %PATH%
。 I am following this tutorial to save configuration data on doppler: https://dev.to/lordghostx/build-and-deploy-a-web-app-with-python-flask-and-doppler-9jm#:~:text=The%20answer%20is%20YES%2C%20and,and%20environment%20variables%20using%20Doppler .我正在按照本教程在多普勒上保存配置数据: https ://dev.to/lordghostx/build-and-deploy-a-web-app-with-python-flask-and-doppler-9jm#:~:text =%20答案%20是%20YES%2C%20和%20环境%20变量%20使用%20多普勒。 I can't get through step 6. Any help would be appreciated!
我无法完成第 6 步。任何帮助将不胜感激!
First thing you'll want to test is if python is actually on your path.您要测试的第一件事是 python 是否真的在您的路径上。 For this, go to any blank terminal and just type "python3" and "python".
为此,请转到任何空白终端,然后键入“python3”和“python”。 If you don't get an output for either, or an error saying python couldn't be found, then you have to add python to your system path.
如果您没有得到任何一个输出,或者错误提示找不到 python,那么您必须将 python 添加到您的系统路径中。 See https://www.educative.io/edpresso/how-to-add-python-to-path-variable-in-windows If you don't get an output for python3, but do get one for python, try replacing
doppler run -- python3
with doppler run -- python
and see if it works.请参阅https://www.education.io/edpresso/how-to-add-python-to-path-variable-in-windows如果您没有得到 python3 的输出,但确实得到了 python 的输出,请尝试替换
doppler run -- python3
with doppler run -- python
看看它是否有效。 Good luck!祝你好运!
Edit: "py" seems to work for you.编辑:“py”似乎对你有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.