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

Error when running stereoscope ... #41

Open
ineskrd opened this issue Feb 6, 2024 · 0 comments
Open

Error when running stereoscope ... #41

ineskrd opened this issue Feb 6, 2024 · 0 comments

Comments

@ineskrd
Copy link

ineskrd commented Feb 6, 2024

Hi !
I installed stereoscope and I am trying to run it however I am facing lots of issues... One of the errors I get is the following :

`Traceback (most recent call last):
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/errors.py", line 776, in new_error_context
yield
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/lowering.py", line 235, in lower_block
self.lower_inst(inst)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/lowering.py", line 380, in lower_inst
val = self.lower_assign(ty, inst)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/lowering.py", line 556, in lower_assign
return self.lower_expr(ty, value)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/lowering.py", line 1084, in lower_expr
res = self.lower_call(resty, expr)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/lowering.py", line 815, in lower_call
res = self._lower_call_normal(fnty, expr, signature)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/lowering.py", line 1055, in _lower_call_normal
res = impl(self.builder, argvals, self.loc)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/base.py", line 1194, in call
res = self._imp(self._context, builder, self._sig, args, loc=loc)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/base.py", line 1224, in wrapper
return fn(*args, **kwargs)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/cpython/rangeobj.py", line 40, in range1_impl
state.stop = stop
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/cgutils.py", line 164, in setattr
self[self._datamodel.get_field_position(field)] = value
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/cgutils.py", line 188, in setitem
raise TypeError("Invalid store of {value.type} to "
TypeError: Invalid store of i64 to i32 in <numba.core.datamodel.models.RangeModel object at 0x7f16106f97f0> (trying to write member #1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/bioinfo/anaconda3/bin/stereoscope", line 33, in
sys.exit(load_entry_point('stereoscope==0.3.1', 'console_scripts', 'stereoscope')())
File "/home/bioinfo/anaconda3/bin/stereoscope", line 25, in importlib_load_entry_point
return next(matches).load()
File "/home/bioinfo/anaconda3/lib/python3.8/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/home/bioinfo/anaconda3/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in load_unlocked
File "", line 783, in exec_module
File "", line 219, in call_with_frames_removed
File "/home/bioinfo/.local/lib/python3.8/site-packages/stereoscope-0.3.1-py3.8.egg/stsc/main.py", line 5, in
from stsc.look import look
File "/home/bioinfo/.local/lib/python3.8/site-packages/stereoscope-0.3.1-py3.8.egg/stsc/look.py", line 32, in
import umap
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/umap/init.py", line 1, in
from .umap
import UMAP
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/umap/umap
.py", line 54, in
from umap.layouts import (
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/umap/layouts.py", line 39, in
def rdist(x, y):
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/decorators.py", line 226, in wrapper
disp.compile(sig)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/dispatcher.py", line 979, in compile
cres = self._compiler.compile(args, return_type)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/dispatcher.py", line 141, in compile
status, retval = self._compile_cached(args, return_type)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/dispatcher.py", line 155, in _compile_cached
retval = self._compile_core(args, return_type)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/dispatcher.py", line 168, in _compile_core
cres = compiler.compile_extra(self.targetdescr.typing_context,
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/compiler.py", line 686, in compile_extra
return pipeline.compile_extra(func)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/compiler.py", line 428, in compile_extra
return self._compile_bytecode()
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/compiler.py", line 492, in _compile_bytecode
return self._compile_core()
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/compiler.py", line 471, in _compile_core
raise e
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/compiler.py", line 462, in _compile_core
pm.run(self.state)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/compiler_machinery.py", line 343, in run
raise patched_exception
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/compiler_machinery.py", line 334, in run
self._runPass(idx, pass_inst, state)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
return func(*args, **kwargs)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/compiler_machinery.py", line 289, in _runPass
mutated |= check(pss.run_pass, internal_state)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/compiler_machinery.py", line 262, in check
mangled = func(compiler_state)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/typed_passes.py", line 396, in run_pass
lower.lower()
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/lowering.py", line 138, in lower
self.lower_normal_function(self.fndesc)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/lowering.py", line 192, in lower_normal_function
entry_block_tail = self.lower_function_body()
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/lowering.py", line 221, in lower_function_body
self.lower_block(block)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/lowering.py", line 235, in lower_block
self.lower_inst(inst)
File "/home/bioinfo/anaconda3/lib/python3.8/contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "/home/bioinfo/anaconda3/lib/python3.8/site-packages/numba-0.54.1-py3.8-linux-x86_64.egg/numba/core/errors.py", line 786, in new_error_context
raise newerr.with_traceback(tb)
numba.core.errors.LoweringError: Failed in nopython mode pipeline (step: native lowering)
Invalid store of i64 to i32 in <numba.core.datamodel.models.RangeModel object at 0x7f16106f97f0> (trying to write member #1)

File "../anaconda3/lib/python3.8/site-packages/umap/layouts.py", line 53:
def rdist(x, y):

dim = x.shape[0]
for i in range(dim):
^

During: lowering "$20call_function.7 = call $16load_global.5(dim, func=$16load_global.5, args=[Var(dim, layouts.py:52)], kws=(), vararg=None, target=None)" at /home/bioinfo/anaconda3/lib/python3.8/site-packages/umap/layouts.py (53)
`

Do you know how I can get rid of this error ?

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

1 participant