You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While installing, it gives this warning in this colab notebook: WARNING: Discarding https://files.pythonhosted.org/packages/d6/14/9418fc5dacae355be2ea1ec3d410d5d7b9c4d3d47c8eac1ef10dea20fd7f/bfast-0.7.tar.gz#sha256=649b8a6882db13634819b46ac056275683353591da77497d712236c595db2b79 (from https://pypi.org/simple/bfast/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
So I checked the log, and it says that pyopencl is not found.
Just a bit more research revealed that pyopencl is not pre-installed on colab instances. What happens above is that pip tries to install the latest bfast version 0.7, which depends on the not-available pyopencl, so it fails. Afterwards pip automatically tries to install 0.6, which also depends on pyopencl, so it proceeds to install it, and then finishes the installation of bfast 0.6 successfully.
Now both bfast 0.6 and pyopencl are available.
The workaround is to manually install pyopencl before attempting to install bfast.
I had a short look at the code, and I'm just more confused of why this issue started to pop-up in version 0.7, as nothing seems to have changed when it comes to pyopencl between versions 0.6 and 0.7.
While installing, it gives this warning in this colab notebook:
WARNING: Discarding https://files.pythonhosted.org/packages/d6/14/9418fc5dacae355be2ea1ec3d410d5d7b9c4d3d47c8eac1ef10dea20fd7f/bfast-0.7.tar.gz#sha256=649b8a6882db13634819b46ac056275683353591da77497d712236c595db2b79 (from https://pypi.org/simple/bfast/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
So I checked the log, and it says that pyopencl is not found.
But running import pyopencl in colab gives no error. Moreover, version 0.6 still gets installed, and runs correctly using the opencl backend.
The text was updated successfully, but these errors were encountered: