简体   繁体   中英

Getting error when running python file using doppler. "Doppler Error: fork/exec....."

I'm trying to run a file using Doppler. This command worked a few weeks ago but when I restarted my virtual environment, I started getting this error and cannot figure it out. The file runs fine without doppler.

I run the command:

doppler run -c dev -- my_file.py

Error I get:

Doppler Error: fork/exec my_file.py: %1 is not a valid_Win32application

Thanks

Solved: All I need to do was

doppler run -c dev -- python my_file.py

You may also be able to set the env vars:

export DOPPLER_PROJECT=your-project
export DOPPLER_CONFIG=dev

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