Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Python > 3.6? #35

Open
giordan12 opened this issue Jan 5, 2021 · 5 comments
Open

Upgrade to Python > 3.6? #35

giordan12 opened this issue Jan 5, 2021 · 5 comments

Comments

@giordan12
Copy link

I know this package has not been updated for some time; however, is there any way how we can install it in more recent python versions?

@maddenfederico
Copy link

I've used it on 3.8. It works

@giordan12
Copy link
Author

Thanks for the tip! How did you make that happen? I couldn't get it to work via pip

@maddenfederico
Copy link

Nothing in particular, it just worked (with one or two fixes, maybe). You can try my fork if you want

@shailavij
Copy link

I have installed this package via pip install in Python 3.8.3,
Then In order to function, ChemDataExtractor requires a variety of data files, such as machine learning models, word cluster . Run below command in Anaconda prompt
-> cde data download.
It works fine for me

@aspitarl
Copy link

aspitarl commented Mar 6, 2022

Hi, I made some quick fixes to get the code to work on python 3.10. See the commit message for more details.

https://github.com/aspitarl/ChemDataExtractor

I'm not making a pull request as I just got the code working quickly without testing. Also the major problem was some of the dependencies (DAWG and python-crfsuite) are not compatible, but it appears that those will be patched soon anyway.

The other fix is just replacing collections -> collections.abc for the applicable classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants