cannot import name ‘Client’ from partially initialized module ‘dask.distributed’ (most likely due to a circular import)

If you are getting this error when running Dask distributed: cannot import name ‘Client’ from partially initialized module ‘dask.distributed’ (most likely due to a circular import) Then most probably it’s because you have named the .py file the same name as the package – “distributed”. That’s exactly why circular import is being detected. So rename … Read more

How to disable warnings in Python

There’s a number of different ways to turn off Python warnings. There’s a lot of annoying future deprecation warnings that might flood your console space like crazy. So in order to suppress unwanted warnings in Python, the easiest way is the following: import warnings warnings.filterwarnings(‘ignore’) if you would like disable some specific type of warnings, … Read more

ModuleNotFoundError: No module named ‘pydrive’

Hey guys, if you stumble upon this error, most probably you have conflicting modules installed in your pip or other package management tool. And by the way, PyDrive is not supported anymore for quite a long time, so it’s better to install PyDrive2 pip install PyDrive2 PyDrive2 an actively maintained fork of PyDrive. If you … Read more