rrwick / Trycycler

A tool for generating consensus long-read assemblies for bacterial genomes
GNU General Public License v3.0
306 stars 28 forks source link

Fails to build under Python 3.12 #71

Closed mesti90 closed 6 months ago

mesti90 commented 7 months ago

I tried to install Trycycler with the following command:

pip3 install --break-system-packages git+https://github.com/rrwick/Trycycler.git

Unfortunately it didn't work. When the installer tried to installed the edlib package, it missed longintrepr.h I use python 3.12

mesti90 commented 7 months ago

The following workaround was successful: first I installed edlib with the following command:

apt install python3-edlib

Then Trycycler could be installed with success

rrwick commented 6 months ago

Glad the workaround fixed it! The edlib package has issues with newer versions of Python, so if anyone else has this issue, I would recommend trying Python 3.10.

Ryan