简体   繁体   English

运行多普勒时出现错误,在 %PATH% 中找不到可执行文件

[英]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.

相关问题 使用多普勒运行 python 文件时出错。 “多普勒错误:fork/exec .....” - Getting error when running python file using doppler. "Doppler Error: fork/exec....." Apache Beam:同步 pod 时出错 - 在 $PATH 中找不到可执行文件 - Apache Beam: Error syncing pod - executable file not found in $PATH Apache Beam:错误同步 pod:在 $PATH 中找不到可执行文件 - Apache Beam: error syncing pod: executable file not found in $PATH Docker 安装映像错误可执行文件未在 $PATH 中找到:未知 - Docker mounting image error executable file not found in $PATH: unknown 指定 windows 路径时找不到文件错误 - File not found error while specifying windows path “python”:在 M1 上的 $PATH 中找不到可执行文件 - "python": executable file not found in $PATH on M1 在 $PATH 中找不到 Docker 撰写可执行文件”:未知 - Docker compose executable file not found in $PATH": unknown "exec: "python": $PATH 中找不到可执行文件 - "exec: "python": executable file not found in $PATH docker:在 $PATH 中找不到可执行文件”:未知 - docker: executable file not found in $PATH": unknown 从python运行时,Docker映像给我“在$ PATH中找不到可执行文件” - Docker image gives me “executable file not found in $PATH” when run from python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM