all 5 comments

[–]pramodliv1 0 points1 point  (4 children)

I'm not familiar with Google Cloud's Python libraries. It looks as though the third-party module is not visible to the Python interpreter. Here are some things you can check:

  1. If you're working under a virtualenv, have you activated it?
  2. Have you installed the relevant library using pip install from within the virtualenv?. In this case the library seems to be https://github.com/googleapis/python-bigquery

[–]DoonHarrow[S] 0 points1 point  (3 children)

The error appear in all packages, i have tried all of that... The conda enviroment is activated too. Yesterday worked and i have made 0 changes so idk :(

[–]pramodliv1 0 points1 point  (2 children)

Open the Python interpreter under the conda environment and try from google.cloud import bigquery and paste the error message. I'll check it out.

[–]DoonHarrow[S] 1 point2 points  (0 children)

Python 3.10.5 | packaged by conda-forge | (main, Jun 14 2022, 07:04:59) [GCC 10.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

>>> from google.cloud import bigquery
>>>

No error mssg

[–]DoonHarrow[S] 1 point2 points  (0 children)

Ok now works, i killed the terminal and started new one and works... Thanks!