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

google.colab can‘t be installed #364

Closed
SheldonLiu0412 opened this issue Apr 14, 2024 · 3 comments
Closed

google.colab can‘t be installed #364

SheldonLiu0412 opened this issue Apr 14, 2024 · 3 comments
Labels
component:support How to do xyz? status:awaiting user response Awaiting a response from the author type:bug Something isn't working

Comments

@SheldonLiu0412
Copy link

Description of the bug:

google.colab can‘t be pip installed,The reason is that the wheel cannot be executed for pandas.I have tried many methods but can't solve it. Is there any alternative solution

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

@SheldonLiu0412 SheldonLiu0412 added the type:bug Something isn't working label Apr 14, 2024
@singhniraj08
Copy link
Contributor

@SheldonLiu0412, google-colab is a Colaboratory specific python library. For issues related to colab, please file a bug in colabtools. This repository is for issues related to website(https://ai.google.dev/) like documentation bugs or improvements. Thank you!

@singhniraj08 singhniraj08 added status:awaiting user response Awaiting a response from the author component:support How to do xyz? labels Apr 18, 2024
@MarkDaoust
Copy link
Member

Hi, you don't need anything in google.colab if you're running locally.

Instead of userdata.get('GOOGLE_API_KEY') just set the API key in a GOOGLE_API_KEY environment variable. and the python SDK will pick it up automatically, you don't even need the genai.configure(api_key= line.

@SheldonLiu0412
Copy link
Author

SheldonLiu0412 commented Apr 20, 2024

Hi, you don't need anything in google.colab if you're running locally.

Instead of userdata.get('GOOGLE_API_KEY') just set the API key in a GOOGLE_API_KEY environment variable. and the python SDK will pick it up automatically, you don't even need the genai.configure(api_key= line.

Thanks, it can solve the problem.
I try to use 'conda install -c conda-forge google-colab' , it works too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:support How to do xyz? status:awaiting user response Awaiting a response from the author type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants