Okay, I put quotes around the path and now I'm getting another error only in zenno, not when I run the script from command line.
Warning: 'config.ini' not found. Attempting to load API key from environment variable (GEMINI_API_KEY).
An error occurred during Gemini API interaction: 400 INVALID_ARGUMENT. {'error': {'code': 400, 'message': 'API key not valid. Please pass a valid API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key not valid. Please pass a valid API key.'}]}}
The config.ini file is in the directory with the python script and like I said, the script runs fine with the command line. Somehow the run own program is messing it up. May avhe to go back to just running an autoexec.bat file.