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

Installation fails with Python 3.7 #52

Closed
ozcan opened this issue Jul 5, 2018 · 10 comments
Closed

Installation fails with Python 3.7 #52

ozcan opened this issue Jul 5, 2018 · 10 comments

Comments

@ozcan
Copy link

ozcan commented Jul 5, 2018

Hi,

Python 3.7 introduced some ABI changes which require auto-generated C files to be updated. Is new release planned?

Best,

@andersgs
Copy link

andersgs commented Jul 6, 2018

Manual workaround:

Download and unpack the tar.gz.
cd into the folder
run update_c.sh
python3.7 setup.py build
python3.7 setup.py install

wget https://github.com/pytries/datrie/archive/0.7.1.tar.gz
tar xf 0.7.1.tar.gz
cd datrie-0.7.1
./update_c.sh
python3.7 setup.py build
python3.7 setup.py install

Ideally, the setup.py would be updated so that Cython could be used to update the source files as needed.

Thank you.

akloboucnik added a commit to akloboucnik/datrie that referenced this issue Oct 18, 2018
akloboucnik added a commit to akloboucnik/datrie that referenced this issue Oct 18, 2018
akloboucnik added a commit to akloboucnik/datrie that referenced this issue Oct 18, 2018
akloboucnik added a commit to akloboucnik/datrie that referenced this issue Oct 18, 2018
@rraadd88
Copy link

It's an issue with python=3.7 right now.
Works very well with python=3.6.

@gokceneraslan
Copy link

gokceneraslan commented Nov 13, 2018

or just use conda: conda install datrie. They have a binary package for Python 3.7

@sjackman
Copy link

I'm still seeing this build failure with Python 3.7 and datrie 0.7.1. Could a new release of datrie with support for Python 3.7 be tagged and pushed to PyPI?

@sjackman
Copy link

pip3 install datrie fails with Python 3.7. Install from git is a workaround:

pip3 install git+https://github.com/pytries/datrie.git

@MikedeKokkie
Copy link

pip3 install datrie fails with Python 3.7. Install from git is a workaround:

pip3 install git+https://github.com/pytries/datrie.git

You're a lifesaver, thank you!

@sjackman
Copy link

@superbobry Hi, Sergei. Could you please tag and release a new version of datrie and update the package on PyPI? pip3 install datrie currently fails with Python 3.7.

@ivan-krukov
Copy link

@superbobry @kmike Hello. I'm sorry to bring this up, but this issue shouldn't be closed until the updated version is on PyPI. Other things that depend on pytries, most notably, snakemake, fail to install. Please, please, push this to PyPI. Thank you.

@bast
Copy link

bast commented Jun 10, 2019

I also now fell into this when pip installing Snakemake on 3.7 - the workaround worked. On Wednesday I will teach Snakemake at a workshop :-) Is there a good reason for not updating PyPI yet? Please don't get me wrong, I am not complaining: "not having time to do this yet" would be a good reason. I really appreciate you sharing and maintaining this code. Anything I/we can help with to get a new version out on PyPI?

@idaL
Copy link

idaL commented Jun 26, 2019

Building a software that relies on dantrie, we also need a newer version that works with python 3.7. Really appreciate you maintaining this code. (:

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

9 participants