Hi, I am encountering an error that looks similar to https://github.com/sacdallago/bio_embeddings/issues/184, but flagging greenlet rather than numpy.
My end goal is to run some protein-protein interaction predictions using TAGPPI, which takes SeqVec embeddings as part of its input.
I've just pip installed bio-embeddings[all], and am trying to embed via seqvec.
Using either a config.yml specifying seqvec or "from bio_embeddings.embed import SeqVecEmbedder" I get the following error, any thoughts on getting this running?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/iwill/my-envs/bio-embeddings/lib/python3.8/site-packages/bio_embeddings/__init__.py", line 12, in <module>
import bio_embeddings.embed
File "/home/iwill/my-envs/bio-embeddings/lib/python3.8/site-packages/bio_embeddings/embed/__init__.py", line 132, in <module>
from bio_embeddings.embed.seqvec_embedder import SeqVecEmbedder
File "/home/iwill/my-envs/bio-embeddings/lib/python3.8/site-packages/bio_embeddings/embed/seqvec_embedder.py", line 5, in <module>
from allennlp.commands.elmo import ElmoEmbedder
File "/home/iwill/my-envs/bio-embeddings/lib/python3.8/site-packages/allennlp/commands/__init__.py", line 8, in <module>
from allennlp.commands.configure import Configure
File "/home/iwill/my-envs/bio-embeddings/lib/python3.8/site-packages/allennlp/commands/configure.py", line 23, in <module>
from gevent.pywsgi import WSGIServer
File "/home/iwill/.local/lib/python3.8/site-packages/gevent/__init__.py", line 87, in <module>
from gevent._hub_local import get_hub
File "/home/iwill/.local/lib/python3.8/site-packages/gevent/_hub_local.py", line 101, in <module>
import_c_accel(globals(), 'gevent.__hub_local')
File "/home/iwill/.local/lib/python3.8/site-packages/gevent/_util.py", line 105, in import_c_accel
mod = importlib.import_module(cname)
File "/home/iwill/my-envs/bio-embeddings/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "src/gevent/__greenlet_primitives.pxd", line 12, in init gevent.__hub_local
ValueError: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 152 from C header, got 40 from PyObject
For those with a similar problem seeking to use SeqVec, I was able to get stand-alone SeqVec (https://github.com/rostlab/SeqVec) to run in a python3.6/greenlet0.4.15 environment.
Hi, I am encountering an error that looks similar to https://github.com/sacdallago/bio_embeddings/issues/184, but flagging greenlet rather than numpy. My end goal is to run some protein-protein interaction predictions using TAGPPI, which takes SeqVec embeddings as part of its input.
I've just pip installed bio-embeddings[all], and am trying to embed via seqvec. Using either a config.yml specifying seqvec or "from bio_embeddings.embed import SeqVecEmbedder" I get the following error, any thoughts on getting this running?
My conda environment:
Thank you!