I created a Python script that works fine when I run it through Spyder. Basically, I'm querying some files and merging a couple data frames into one final data frame. All of this works perfectly fine. Then, I created an executable from this .py file, and I'm trying to run the .exe but it's giving me a problem. Here's the issue.
pkg_resources.DistributionNotFound: The 'google-cloud-bigquery' distribution was not found and is required by the application
So, basically, when I try to push the data frame into Google Big Query, this causes an error. It seems like 'google-cloud-bigquery' is not setup in the virtual environment. I followed the instructions from the link below to try to ensure everything is setup correctly.
https://cloud.google.com/python/setup
After going through all those steps, I'm still getting the error described above.
This is the line of code that causes the error:
df3.to_gbq(destination_table, project_id=proj_ID, if_exists='append')
Any thoughts on how to get this working?