sungchun12 / schedule-python-script-using-Google-Cloud

:clock4: Schedules a Python script to append data into Bigquery using Google Cloud's App Engine with a cron job
12 stars 3 forks source link

issues with requirements.txt file #2

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi!,

Trying to replicate your steps but keep getting the following errors. I updated the requirements text with the following:

pandas==0.3.0 sodapy==1.4.6 datalab==1.1.4 gunicorn==19.7.1 six==1.10 Flask==0.12.2 pandas-gbq==0.5.0

and I got the following error:

tensorflow 1.10.0 has requirement numpy<=1.14.5,>=1.13.3, but you'll have numpy 1.15.0 which is incompatible. tensorflow 1.10.0 has requirement setuptools<=39.1.0, but you'll have setuptools 40.1.0 which is incompatible. requests 2.18.4 has requirement urllib3<1.23,>=1.21.1, but you'll have urllib3 1.23 which is incompatible. datalab 1.1.4 has requirement pandas>=0.22.0, but you'll have pandas 0.3.0 which is incompatible. pandas-profiling 1.4.1 has requirement pandas>=0.19, but you'll have pandas 0.3.0 which is incompatible. seaborn 0.9.0 has requirement pandas>=0.15.2, but you'll have pandas 0.3.0 which is incompatible.

Let me know if I messed up something in the requirements table. New on this, so I apologize in advance.

sungchun12 commented 6 years ago

Hello There!

It looks like you need to update this text file with the relevant dependency versions to make this work properly.

I recommend playing around with the versioning above and including pandas-profiling, seaborn, and tensorflow as well.

This text file has given me issues in the past because some of these packages are constantly updating and submodules are deprecating constantly.

ghost commented 6 years ago

Thanks! The following seems to work as of today: pandas==0.23.4 sodapy==1.4.6 datalab==1.1.4 google-api-python-client gunicorn==19.7.1 six==1.10 Flask==0.12.2 pandas-gbq==0.6.0 pandas-profiling==1.4.1 seaborn==0.9.0 numpy==1.14.5 setuptools==39.1.0 urllib3==1.22

sungchun12 commented 6 years ago

Glad to hear! Let me know if you need anything else!