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

signature="(m),(m)->(m)") error on Linux #20

Closed
evanseitz opened this issue Nov 7, 2018 · 1 comment
Closed

signature="(m),(m)->(m)") error on Linux #20

evanseitz opened this issue Nov 7, 2018 · 1 comment

Comments

@evanseitz
Copy link

evanseitz commented Nov 7, 2018

Currently, trying to run pyem on Linux 3.7.10-1.28 via pip install git+https://github.com/asarnow/pyem, however, getting error due to pyem/util/quat.py.

The solution has been to go through and remove all instances (3) of , signature = ; e.g., changing the first of three lines to qconj = np.vectorize(_qconj) #, signature="(m),(m)->(m)") works when done for all 3.

To note, everything works fine on macOS.

@asarnow
Copy link
Owner

asarnow commented Nov 8, 2018

This is caused by an old version of numpy, from before the signature keyword was added to np.vectorize.

FYI, it will be much easier to keep the software up to date if you install following the guidelines in the wiki.

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

2 participants