Closed villalbamartin closed 3 years ago
Thanks for bringing this up! It seems that we forgot to push the latest changes up to Pypi. Should work now!
Thanks for bringing this up! It seems that we forgot to push the latest changes up to Pypi. Should work now!
No, it does not work yet
Can you check what version of RXNMapper
was installed through pip? (pip freeze | grep rxnmapper
)?
Can you check what version of
RXNMapper
was installed through pip? (pip freeze | grep rxnmapper
)? Pip install works when I switch to linux instead of windows10
Interesting. If you would make a new issue documenting the bugs you are experiencing in Windows 10 (we have not tested on that OS), we can discuss there
I have followed the installation instructions using PIP with some minimal changes:
I then ran the sample code provided in the "Basic Usage" section in a file called
test.py
But this yielded the following error:
I believe that this error is due to changes in the
transformers
library.pip freeze
reveals that the installed version is4.1.1
, but the property "max_len" was only present in Tokenizers until version 3.5.1 - here's a link to the deprecation notice. For backwards compatibility reasons, some traces of it remain in the currenttransformers
library.The reason why I emphasize "believe" is because the Github install succeeded, even though it freezes
transformers
to4.0.0
which should exhibit the same issue but, in my case, doesn't. Perhaps a pre-trained model with the old property is being loaded in one situation and not in the other, but I haven't looked deep enough to be certain.