ryanfobel / utility-bill-scraper

Download energy usage data and estimate CO2 emissions from utility websites or pdf bills.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Enable running notebooks in google colab #31

Open ryanfobel opened 2 years ago

ryanfobel commented 2 years ago

This will allow users to easily store statements/data in google drive.

ryanfobel commented 2 years ago

Colab requires specific versions of some packages (e.g., google-colab 1.0.0 requires pandas~=1.1.0). We either need to install these as part of the install_colab_requirements function or come up with another solution.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
yellowbrick 1.3.post1 requires numpy<1.20,>=1.16.0, but you have numpy 1.21.4 which is incompatible.
google-colab 1.0.0 requires pandas~=1.1.0; python_version >= "3.0", but you have pandas 1.3.4 which is incompatible.
google-colab 1.0.0 requires requests~=2.23.0, but you have requests 2.26.0 which is incompatible.
google-colab 1.0.0 requires six~=1.15.0, but you have six 1.16.0 which is incompatible.
google-cloud-translate 1.5.0 requires google-api-core[grpc]<2.0.0dev,>=1.6.0, but you have google-api-core 2.2.2 which is incompatible.
google-cloud-language 1.2.0 requires google-api-core[grpc]<2.0.0dev,>=1.6.0, but you have google-api-core 2.2.2 which is incompatible.
google-cloud-firestore 1.7.0 requires google-api-core[grpc]<2.0.0dev,>=1.14.0, but you have google-api-core 2.2.2 which is incompatible.
google-cloud-datastore 1.8.0 requires google-api-core[grpc]<2.0.0dev,>=1.6.0, but you have google-api-core 2.2.2 which is incompatible.
google-cloud-core 1.0.3 requires google-api-core<2.0.0dev,>=1.14.0, but you have google-api-core 2.2.2 which is incompatible.
google-cloud-bigquery-storage 1.1.0 requires google-api-core[grpc]<2.0.0dev,>=1.14.0, but you have google-api-core 2.2.2 which is incompatible.
firebase-admin 4.4.0 requires google-api-core[grpc]<2.0.0dev,>=1.14.0; platform_python_implementation != "PyPy", but you have google-api-core 2.2.2 which is incompatible.
earthengine-api 0.1.290 requires google-api-python-client<2,>=1.12.1, but you have google-api-python-client 2.31.0 which is incompatible.
datascience 0.10.6 requires folium==0.2.1, but you have folium 0.8.3 which is incompatible.
arviz 0.11.4 requires typing-extensions<4,>=3.7.4.3, but you have typing-extensions 4.0.1 which is incompatible.
albumentations 0.1.12 requires imgaug<0.2.7,>=0.2.5, but you have imgaug 0.2.9 which is incompatible.
Successfully installed arrow-1.2.1 beautifulsoup4-4.10.0 cachetools-4.2.4 certifi-2021.10.8 charset-normalizer-2.0.8 cycler-0.11.0 fonttools-4.28.2 google-api-core-2.2.2 google-api-python-client-2.31.0 google-auth-2.3.3 google-auth-httplib2-0.1.0 googleapis-common-protos-1.53.0 httplib2-0.20.2 idna-3.3 kiwisolver-1.3.2 matplotlib-3.5.0 numpy-1.21.4 packaging-21.3 pandas-1.3.4 pdfminer-20191125 pillow-8.4.0 protobuf-3.19.1 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycryptodome-3.11.0 pyparsing-3.0.6 python-dateutil-2.8.2 python-dotenv-0.19.2 pytz-2021.3 requests-2.26.0 rsa-4.8 selenium-3.141.0 setuptools-59.4.0 setuptools-scm-6.3.2 six-1.16.0 soupsieve-2.3.1 tomli-1.2.2 typing-extensions-4.0.1 uritemplate-4.1.1 urllib3-1.26.7 utility-bill-scraper-0.8