CFlyGoo commented on issue #10562: URL: https://github.com/apache/dolphinscheduler/issues/10562#issuecomment-1163979541
> I can't reproduce your problems in my environment. Which version you are using? Can you provide steps for accurate reproduction? The version I am using is 2.0.5 Perhaps, you can reproduce with the following steps: 1. Set the environment variable `PYTHONPATH` in `/opt/dolphinscheduler/conf/env/dolphinscheduler_env.sh`. Such as `export PYTHONPATH=/opt/env_test` 2. In the `/opt/env_test` directory, create a new file, such as `env_test.py` 3. Set up some values in` Environment manage` to create an environment test, such as `export TEST_ENV=xxx` 4. Create a new `Python task` and set the `Environment Name` to test in `Current Node Settings`, and the task content is `import env_test` 5. Start the above tasks through the test Environment start You will get exception `ModuleNotFoundError: No module named 'env_test'`  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
