Open BaptisteHi opened 1 week ago
Hello and thanks for raising this issue. It looks that the Google colab's cache is not updated and although packaging 24.1 is no longer there and packaging 23.1 took its place somehow it still exists in the site_packages folder. It is a weird error, but it seems to be related mostly with Colab and not with the partitura installation, I will dig a bit deeper and then try to find a better solution.
If you still want to run tutorial, run the first shells that install partitura and then refresh the runtime, and run through the notebook again. This should fix the error.
Hi @BaptisteHi and @manoskary! I found a potential solution that we can use for the time being. We can use an older version of mido
to avoid the issues with packaging
.
I will create a pull request in the tutorial repository to address these issue
# Issues on Colab with newer versions of MIDO
! pip install mido==1.2.10
Hi,
I have encountered issues while using google collab tutorials for partitura : While importing partitura, there is a conflict issue raised because of the mido dependency which requires packaging with the version 23.1 while newer versions are available.
I have tried downgrading packaging's version right before the import and right before the installation of partitura using pip but it didn't work out.
Here is the message error :