Datasets: Google Colab - load_dataset - PyArrow exception

Created on 25 Jul 2020  路  9Comments  路  Source: huggingface/datasets

With latest PyArrow 1.0.0 installed, I get the following exception . Restarting colab has the same issue

ImportWarning: To use nlp, the module pyarrow>=0.16.0 is required, and the current version of pyarrow doesn't match this condition. If you are running this in a Google Colab, you should probably just restart the runtime to use the right version of pyarrow.

The error goes only when I install version 0.16.0
i.e. !pip install pyarrow==0.16.0

Most helpful comment

Came to raise this issue, great to see other already have and it's being fixed so soon!

As an aside, since no one wrote this already, it seems like the version check only looks at the second part of the version number making sure it is >16, but pyarrow newest version is 1.0.0 so the second past is 0!

All 9 comments

Indeed, we鈥檒l make a new PyPi release next week to solve this. Cc @lhoestq

+1! this is the reason our tests are failing at TextAttack

(Though it's worth noting if we fixed the version number of pyarrow to 0.16.0 that would fix our problem too. But in this case we'll just wait for you all to update)

Came to raise this issue, great to see other already have and it's being fixed so soon!

As an aside, since no one wrote this already, it seems like the version check only looks at the second part of the version number making sure it is >16, but pyarrow newest version is 1.0.0 so the second past is 0!

Indeed, we鈥檒l make a new PyPi release next week to solve this. Cc @lhoestq

Yes definitely

please fix this on pypi! @lhoestq

Is this issue fixed ?

We鈥檒l release the new version later today. Apologies for the delay.

I just pushed the new version on pypi :)

Thanks for the update.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jplu picture jplu  路  5Comments

NielsRogge picture NielsRogge  路  3Comments

Nouman97 picture Nouman97  路  4Comments

ratthachat picture ratthachat  路  6Comments

antmarakis picture antmarakis  路  3Comments