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

parseMSA #1899

Closed
estrauch opened this issue May 14, 2024 · 3 comments
Closed

parseMSA #1899

estrauch opened this issue May 14, 2024 · 3 comments

Comments

@estrauch
Copy link

somehow parseMSA will not work, even if fetched from PFAM.
the MSAFile object does work, though. Any suggestions?


RuntimeError Traceback (most recent call last)
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xe


ImportError Traceback (most recent call last)
Input In [27], in <cell line: 1>()
----> 1 parseMSA('PF02171_full.sth')

File ~/anaconda3/lib/python3.9/site-packages/prody/sequence/msafile.py:591, in parseMSA(filename, **kwargs)
589 msaarr = empty(filesize, '|S1')
590 elif format == SELEX or format == STOCKHOLM:
--> 591 from .msaio import parseSelex as parser
592 msaarr = empty(filesize, '|S1')
593 elif format == CLUSTAL:

ImportError: numpy.core.multiarray failed to import

@jamesmkrieger
Copy link
Contributor

You probably need to build your prody c extensions again because your numpy doesn’t match.

If you have installed prody as a normal pip install from PyPI then you probably want to uninstall it and install it again.

If you have a development installation from source then you should run this again:
python setup.py build_ext —inplace —force

Let us know if that works

@estrauch
Copy link
Author

thanks for the quick reply. I uninstall with pip and install package with build and install using the source code download. Now it is working! Thanks!

@jamesmkrieger
Copy link
Contributor

great!

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

3 participants