GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — google-cloud-bigquery not compatible with pandas-gbq error · Issue #302 · googleapis/python-bigquery

This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

google-cloud-bigquery not compatible with pandas-gbq error #302

Copy link
Copy link
Closed
#308
Closed
google-cloud-bigquery not compatible with pandas-gbq error#302
#308
Copy link
Assignees
tswast
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.type: questionRequest for information or clarification. Not an issue.

Description

@avissens
avissens
opened on Oct 6, 2020
Issue body actions

I have a compatibility issue with the new version of google-cloud-bigquery. When I try to install pandas pip install --upgrade google-cloud-bigquery[bqstorage,pandas] I get this error:

ERROR: pandas-gbq 0.13.3 has requirement google-cloud-bigquery[bqstorage,pandas]<2.0.0dev,>=1.11.1, but you'll have google-cloud-bigquery 2.0.0 which is incompatible.

As the results I cannot use pandas-gbq's functionalities such as to_dataframe etc.

Will appreciate your suggestions.

Environment details

  • OS type and version: MAC
  • Python version: Python 3.7.4
  • pip version: pip 19.3.1
  • google-cloud-bigquery version: 1.28.0

Activity

  1. product-auto-label
    added
    api: bigqueryIssues related to the googleapis/python-bigquery API.
    on Oct 6, 2020
  2. tswast commented on Oct 6, 2020

    @tswast
    tswast
    on Oct 6, 2020
    Contributor
    More actions

    I recently released pandas-gbq version 0.14.0, which is compatible with google-cloud-bigquery 2.0.

  3. tswast
    added
    type: questionRequest for information or clarification. Not an issue.
    on Oct 6, 2020
  4. avissens commented on Oct 7, 2020

    @avissens
    avissens
    on Oct 7, 2020
    Author
    More actions

    I upgraded pandas-gbq to version 0.14.0 and it resolved the error I mentioned above when upgrading google-cloud-bigquery BUT I still have a problem writing BiqQuery results into a pandas DataFrame. So my assumption that it was caused by pandas-gbq is probably wrong.

    I also seem to have another problem with PyYAML when upgrading google-cloud-bigquery:

    ERROR: awscli 1.16.277 has requirement PyYAML<5.2,>=3.10; python_version != "2.6" and python_version != "3.3", but you'll have pyyaml 5.3.1 which is incompatible. Installing collected packages: pyyaml, libcst, google-cloud-bigquery-storage, google-cloud-bigquery Found existing installation: PyYAML 5.1.2 ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

  5. tswast commented on Oct 7, 2020

    @tswast
    tswast
    on Oct 7, 2020
    Contributor
    More actions

    It appears that the PyYAML conflict is due to libscst. I'll do some investigating as to why that dependency is needed.

  6. tswast commented on Oct 7, 2020

    @tswast
    tswast
    on Oct 7, 2020
    Contributor
    More actions

    I checked with the team and libcst is only needed for https://github.com/googleapis/python-bigquery/blob/master/scripts/fixup_bigquery_v2_keywords.py I'll follow-up with a PR to remove this dependency as that script isn't even relevant for this library.

    Reacted by Dustin Ingram
  7. tswast
    closed this as completedin #308on Oct 8, 2020
  8. JustinBeckwith
    assigned
    tswast
    on Feb 2, 2021
  9. anujraghuvanshi commented on Dec 21, 2021

    @anujraghuvanshi
    anujraghuvanshi
    on Dec 21, 2021
    More actions

    I am getting while on initial steps on Google Colab - https://colab.research.google.com/github/FirebaseExtended/codelab-contentrecommendation-android/blob/master/Firebase_ML_on_device_recommentations.ipynb#scrollTo=joSTkeEWN01m

    image

    Please suggest what should I do to fix this?

    I hope below issue is due to this -
    FirebaseExtended/codelab-contentrecommendation-ios#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tswast
    tswast

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.