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

numpy bool8 error grimer==1.1.0 #9

Open
uloeber opened this issue Jan 28, 2025 · 0 comments
Open

numpy bool8 error grimer==1.1.0 #9

uloeber opened this issue Jan 28, 2025 · 0 comments

Comments

@uloeber
Copy link

uloeber commented Jan 28, 2025

Hi Vitor,
I've installed grimer via conda and get the following error:
grimer -i OTU.biom
_Traceback (most recent call last):
File "/home/uloeber/miniconda/envs/grimer/bin/grimer", line 33, in
sys.exit(load_entry_point('grimer==1.1.0', 'console_scripts', 'grimer')())
File "/home/uloeber/miniconda/envs/grimer/bin/grimer", line 25, in importlib_load_entry_point
return next(matches).load()
File "/home/uloeber/miniconda/envs/grimer/lib/python3.9/importlib/metadata.py", line 86, in load
module = import_module(match.group('module'))
File "/home/uloeber/miniconda/envs/grimer/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in call_with_frames_removed
File "/home/uloeber/miniconda/envs/grimer/lib/python3.9/site-packages/grimer/grimer.py", line 8, in
from grimer.callbacks import *
File "/home/uloeber/miniconda/envs/grimer/lib/python3.9/site-packages/grimer/callbacks.py", line 1, in
from bokeh.models import CustomJS
File "/home/uloeber/miniconda/envs/grimer/lib/python3.9/site-packages/bokeh/models/init.py", line 31, in
from ..core.property.dataspec import expr, field, value # Legacy API
File "/home/uloeber/miniconda/envs/grimer/lib/python3.9/site-packages/bokeh/core/property/dataspec.py", line 25, in
from .color import Color
File "/home/uloeber/miniconda/envs/grimer/lib/python3.9/site-packages/bokeh/core/property/color.py", line 28, in
from .container import Tuple
File "/home/uloeber/miniconda/envs/grimer/lib/python3.9/site-packages/bokeh/core/property/container.py", line 28, in
from .enum import Enum
File "/home/uloeber/miniconda/envs/grimer/lib/python3.9/site-packages/bokeh/core/property/enum.py", line 24, in
from .primitive import String
File "/home/uloeber/miniconda/envs/grimer/lib/python3.9/site-packages/bokeh/core/property/primitive.py", line 34, in
bokeh_bool_types += (np.bool8,)
File "/home/uloeber/.local/lib/python3.9/site-packages/numpy/init.py", line 410, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'bool8'

I've tried to fix it, but the error seems to occur because the attribute bool8 has been deprecated in newer versions of NumPy.
Could you maybe have a look or give me a hint on how to circumvent the error?
Best,
Ulrike

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