Hi Daniel,
I have had some trouble updating pyem on linux. I was previously on the version that could not handle cryosparc2 files. Perhaps you may have some insight to my problems. I tried just installing fresh after removing the old version and got this error. Then I tried to git pull in the old folder (after putting it back in its original location) and still had this error. After completing the " pip install -e ." command, it says installation was successful.
Sorry, this is my first time trying to update any program from github.
Thanks for any help,
Aaron
Traceback (most recent call last):
File “/home/user/pyem/csparc2star.py”, line 28, in
from pyem import metadata
File “/home/user/pyem/pyem/ init .py”, line 3, in
from . import metadata
File “/home/user/pyem/pyem/metadata.py”, line 25, in
from . import star
File “/home/user/pyem/pyem/star.py”, line 31, in
from pyem.util import rot2euler
File “/home/user/pyem/pyem/util/ init .py”, line 3, in
from .util import *
File “/home/user/pyem/pyem/util/util.py”, line 25, in
from … import geom
File “/home/user/pyem/pyem/geom/ init .py”, line 4, in
from .geom import *
File “/home/user/pyem/pyem/geom/geom.py”, line 22, in
from .quat_numba import qslerp
File “/home/user/pyem/pyem/geom/quat_numba.py”, line 153, in
“(m)->(m), (m), (m), (m)”, nopython=True, cache=False)
File “/home/user/miniconda2/lib/python2.7/site-packages/numba/npyufunc/decorators.py”, line 179, in wrap
guvec.add(fty)
File “/home/user/miniconda2/lib/python2.7/site-packages/numba/npyufunc/ufuncbuilder.py”, line 198, in add
self.nb_func, targetoptions, sig)
File “/home/user/miniconda2/lib/python2.7/site-packages/numba/npyufunc/ufuncbuilder.py”, line 129, in _compile_element_wise_function
cres = nb_func.compile(sig, **targetoptions)
File “/home/user/miniconda2/lib/python2.7/site-packages/numba/npyufunc/ufuncbuilder.py”, line 78, in compile
return self._compile_core(sig, flags, locals)
File “/home/user/miniconda2/lib/python2.7/site-packages/numba/npyufunc/ufuncbuilder.py”, line 113, in _compile_core
flags=flags, locals=locals)
File “/home/user/miniconda2/lib/python2.7/site-packages/numba/compiler.py”, line 871, in compile_extra
return pipeline.compile_extra(func)
File “/home/user/miniconda2/lib/python2.7/site-packages/numba/compiler.py”, line 365, in compile_extra
return self._compile_bytecode()
File “/home/user/miniconda2/lib/python2.7/site-packages/numba/compiler.py”, line 802, in _compile_bytecode
return self._compile_core()
File “/home/user/miniconda2/lib/python2.7/site-packages/numba/compiler.py”, line 789, in _compile_core
res = pm.run(self.status)
File “/home/user/miniconda2/lib/python2.7/site-packages/numba/compiler.py”, line 251, in run
raise patched_exception
TypeError: Failed at nopython (analyzing bytecode)
Signature mismatch: 2 argument types given, but function takes 1 arguments