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

Update the pip install path for local installs #43

Closed
Tracked by #2153
thekaveman opened this issue Jun 12, 2024 · 0 comments · Fixed by #44
Closed
Tracked by #2153

Update the pip install path for local installs #43

thekaveman opened this issue Jun 12, 2024 · 0 comments · Fixed by #44
Assignees
Labels
bug Something isn't working

Comments

@thekaveman
Copy link
Member

Do we need to update this path too or no?

# update PATH for local pip installs
ENV PATH "$PATH:/home/$USER/.local/bin"

Originally posted by @angela-tran in #42 (review)

@angela-tran you were right! When we enable WEBSITES_ENABLE_APP_STORAGE it overwrites the /home directory, including /home/.local where these packages get installed.

We can use the PYTHONUSERBASE variable to change the directory for user pip install, and then update the PATH accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant