oxpig / AbLang

AbLang: A language model for antibodies
BSD 3-Clause "New" or "Revised" License
118 stars 23 forks source link

Fairseq breaks AbLang installation with python > 3.8 #1

Closed ElArkk closed 12 months ago

ElArkk commented 2 years ago

See issue here: https://github.com/pytorch/fairseq/issues/3535

Using Python 3.8.12 I was able to install ablang via pip, but Python 3.9 and 3.10 leads to the error described in the issue linked above.

TobiasHeOl commented 2 years ago

@ElArkk Thanks for letting us know! We will most likely wait until fairseq fixes the issue, so please use <3.9 for now.

sdvillal commented 2 years ago

For conda users, there are a few open PRs aiming at fixing this. In particular this one seems to work.

Until they get accepted, a workaround is to use sdvillal::fairseq as a dependency in your environment (linux and macos only).

TobiasHeOl commented 12 months ago

Sorry for the long wait! fairseq keeps introducing different dependency issues. To resolve this, we have decided to extract the code from fairseq that we use, allowing us not to install fairseq anymore 8f901e9.