Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename variable to avoid conflict with PIP system variable PIP_PREFIX #2015

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

weiwangmeta
Copy link
Contributor

Fix failures in https://github.com/pytorch/text/actions/runs/3742919848/jobs/6354468925
The failure was because the script defined "PIP_PREFIX = --pre " then pip install --pre torch torchtext command would install into the PIP_PREFIX directory, in this case '--pre ' directory.

Solution: rename the PIP_PREFIX to TEXT_PIP_PREFIX to avoid this conflict.

Copy link
Contributor

@atalman atalman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@atalman atalman merged commit ffa496f into main Dec 21, 2022
@Nayef211 Nayef211 deleted the weiwangmeta/avoid_pip_sys_var_conflict branch December 21, 2022 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants