Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix Win Environ "PATH" does not exists Bug #18402

Merged
merged 1 commit into from
May 25, 2020
Merged

Conversation

chinakook
Copy link
Contributor

When "PATH" are not in the environment, we will get error when reading os.environ['PATH'].
Change to os.environ.get('PATH', '') to fix it.

When "PATH" are not in the environment, we will get error when reading os.environ['PATH'].
Change to os.environ.get('PATH', '') to fix it.
@chinakook chinakook requested a review from szha as a code owner May 25, 2020 07:39
@mxnet-bot
Copy link

Hey @chinakook , Thanks for submitting the PR
All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands:

  • To trigger all jobs: @mxnet-bot run ci [all]
  • To trigger specific jobs: @mxnet-bot run ci [job1, job2]

CI supported jobs: [windows-cpu, miscellaneous, unix-gpu, centos-cpu, edge, unix-cpu, centos-gpu, windows-gpu, sanity, clang, website]


Note:
Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin.
All CI tests must pass before the PR can be merged.

@marcoabreu marcoabreu merged commit b2336b6 into apache:master May 25, 2020
AntiZpvoh pushed a commit to AntiZpvoh/incubator-mxnet that referenced this pull request Jul 6, 2020
When "PATH" are not in the environment, we will get error when reading os.environ['PATH'].
Change to os.environ.get('PATH', '') to fix it.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants