BIOBSS
BIOBSS copied to clipboard
Issues on Install
Installing the current HEAD of biobss has an issue on import:
(venv) [rbirmin@cnode7 BIOBSS]$ python
Python 3.8.13 (default, Aug 16 2022, 12:16:29)
[GCC 9.3.1 20200408 (Red Hat 9.3.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import biobss
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/rbirmin/BIOBSS/biobss/__init__.py", line 7, in <module>
from biobss import ( # isort: skip
File "/home/rbirmin/BIOBSS/biobss/ecgtools/__init__.py", line 4, in <module>
from .ecg_plot import *
File "/home/rbirmin/BIOBSS/biobss/ecgtools/ecg_plot.py", line 4, in <module>
from ..plottools import *
File "/home/rbirmin/BIOBSS/biobss/plottools/__init__.py", line 1, in <module>
from .plot_tools import *
File "/home/rbirmin/BIOBSS/biobss/plottools/plot_tools.py", line 5, in <module>
from plotly_resampler import register_plotly_resampler
File "/home/rbirmin/BIOBSS/venv/lib64/python3.8/site-packages/plotly_resampler/__init__.py", line 4, in <module>
from .figure_resampler import FigureResampler, FigureWidgetResampler
File "/home/rbirmin/BIOBSS/venv/lib64/python3.8/site-packages/plotly_resampler/figure_resampler/__init__.py", line 13, in <module>
from .figure_resampler import FigureResampler
File "/home/rbirmin/BIOBSS/venv/lib64/python3.8/site-packages/plotly_resampler/figure_resampler/figure_resampler.py", line 18, in <module>
import dash
File "/home/rbirmin/BIOBSS/venv/lib64/python3.8/site-packages/dash/__init__.py", line 5, in <module>
from .dependencies import ( # noqa: F401,E402
File "/home/rbirmin/BIOBSS/venv/lib64/python3.8/site-packages/dash/dependencies.py", line 4, in <module>
from ._validate import validate_callback
File "/home/rbirmin/BIOBSS/venv/lib64/python3.8/site-packages/dash/_validate.py", line 5, in <module>
import flask
File "/home/rbirmin/BIOBSS/venv/lib64/python3.8/site-packages/flask/__init__.py", line 5, in <module>
from . import json as json
File "/home/rbirmin/BIOBSS/venv/lib64/python3.8/site-packages/flask/json/__init__.py", line 6, in <module>
from ..globals import current_app
File "/home/rbirmin/BIOBSS/venv/lib64/python3.8/site-packages/flask/globals.py", line 25, in <module>
app_ctx: AppContext = LocalProxy( # type: ignore[assignment]
TypeError: __init__() got an unexpected keyword argument 'unbound_message'
Context and commands before this:
(venv) [rbirmin@cnode7 BIOBSS]$ python --version
Python 3.8.13
(venv) [rbirmin@cnode7 BIOBSS]$ git rev-parse HEAD
6be24b9c6ebfecf8e13d52b48c1c8d130c28ac5f
(venv) [rbirmin@cnode7 BIOBSS]$ pip install -r requirements.txt > requirements_log.out
(venv) [rbirmin@cnode7 BIOBSS]$ pip install . > setup_log.out
The venv is clean except for these commands.