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

GitHub action installation error #824

Closed
clementrx opened this issue Jan 29, 2025 · 1 comment
Closed

GitHub action installation error #824

clementrx opened this issue Jan 29, 2025 · 1 comment

Comments

@clementrx
Copy link

clementrx commented Jan 29, 2025

Hi !

Hi !

I'm using this in my workflow in Github actions :

        env:
          HUB_PROJECT_UID: ${{ secrets.HUB_PROJECT_UID }}

        run: |
          Rscript -e 'remotes::install_github("rstudio/tensorflow", auth_token = Sys.getenv("HUB_PROJECT_UID"))'
          Rscript -e 'reticulate::install_python(version = "3.10"); library(tensorflow); install_tensorflow(envname = "r-tensorflow")'
          Rscript -e 'install.packages("keras"); library(keras); install_keras()'

It's worked very well every day for the last 2 years.

And today i got the error :

Downloading GitHub repo rstudio/tensorflow@HEAD
Error: Failed to install 'tensorflow' from GitHub:
  HTTP error 401.
  Bad credentials

  Rate limit remaining: 59/60
  Rate limit reset at: 2025-01-29 11:2[8](https://github.com/clementrx/horse-to-play/actions/runs/13024527850/job/36344787785#step:6:9):36 UTC

  
Execution halted
Error: Process completed with exit code 1.

Does anyone have a solution?

I posted my issue on r studio/tensorflow but the origin is coming from the remotes package :

rstudio/tensorflow#615

@clementrx
Copy link
Author

This solution worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant