salesforce / LAVIS

LAVIS - A One-stop Library for Language-Vision Intelligence
BSD 3-Clause "New" or "Revised" License
9.93k stars 973 forks source link

Can not install lavis with python3.6.12 #73

Closed slyviacassell closed 1 year ago

slyviacassell commented 1 year ago

Thanks to all the contributors to this repository. It is a great job. But I have some installation problems cannot be solved right now. I know the python_requires=">=3.7.0", but I have no idea about why python version requirement is necessary. After I change the python version to 3.6.12, this error is raised: module 'lavis' has no attribute 'processors', from transforms_video.py line 18. Could anyone help me to figure out?

slyviacassell commented 1 year ago
截屏2022-12-27 下午9 34 50
dxli94 commented 1 year ago

Hi @slyviacassell , thanks for your interest.

Can you help confirm your installation completes in full?

Thanks

slyviacassell commented 1 year ago

I comment the torch==1.10.0 in the requirements-dev.txt since I have already installed torch==1.8.0 and re-excute the installation command pip install -e .. Here is the log

Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Obtaining file:/projects/LAVIS
  Preparing metadata (setup.py) ... done
Requirement already satisfied: contexttimer in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.3.3)
Requirement already satisfied: decord in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.6.0)
Requirement already satisfied: einops>=0.4.1 in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.4.1)
Requirement already satisfied: fairscale==0.4.4 in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.4.4)
Requirement already satisfied: ftfy in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (6.0.3)
Requirement already satisfied: iopath in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.1.10)
Requirement already satisfied: ipython in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (7.16.2)
Requirement already satisfied: omegaconf in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (2.3.0)
Requirement already satisfied: opencv-python-headless==4.5.5.64 in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (4.5.5.64)
Requirement already satisfied: opendatasets in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.1.22)
Requirement already satisfied: packaging in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (21.3)
Requirement already satisfied: pandas in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (1.1.5)
Requirement already satisfied: plotly in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (5.5.0)
Requirement already satisfied: pre-commit in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (2.17.0)
Requirement already satisfied: pycocoevalcap in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (1.2)
Requirement already satisfied: pycocotools in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (2.0.6)
Requirement already satisfied: python-magic in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.4.27)
Requirement already satisfied: scikit-image in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.17.2)
Requirement already satisfied: streamlit in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (1.10.0)
Requirement already satisfied: timm==0.4.12 in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.4.12)
Requirement already satisfied: torchvision in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.9.1+cpu)
Requirement already satisfied: tqdm in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (4.62.3)
Requirement already satisfied: transformers<4.22.0,>=4.15.0 in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (4.18.0)
Requirement already satisfied: webdataset in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.2.31)
Requirement already satisfied: wheel in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.37.0)
Requirement already satisfied: sentencepiece in /home/pai/lib/python3.6/site-packages (from lavis==0.1.0) (0.1.97)
Requirement already satisfied: torch>=1.8.0 in /home/pai/lib/python3.6/site-packages (from fairscale==0.4.4->lavis==0.1.0) (1.8.1+cpu)
Requirement already satisfied: numpy>=1.13.3 in /home/pai/lib/python3.6/site-packages (from opencv-python-headless==4.5.5.64->lavis==0.1.0) (1.19.5)
Requirement already satisfied: dataclasses in /home/pai/lib/python3.6/site-packages (from transformers<4.22.0,>=4.15.0->lavis==0.1.0) (0.8)
Requirement already satisfied: regex!=2019.12.17 in /home/pai/lib/python3.6/site-packages (from transformers<4.22.0,>=4.15.0->lavis==0.1.0) (2021.11.10)
Requirement already satisfied: filelock in /home/pai/lib/python3.6/site-packages (from transformers<4.22.0,>=4.15.0->lavis==0.1.0) (3.4.0)
Requirement already satisfied: sacremoses in /home/pai/lib/python3.6/site-packages (from transformers<4.22.0,>=4.15.0->lavis==0.1.0) (0.0.53)
Requirement already satisfied: pyyaml>=5.1 in /home/pai/lib/python3.6/site-packages (from transformers<4.22.0,>=4.15.0->lavis==0.1.0) (6.0)
Requirement already satisfied: huggingface-hub<1.0,>=0.1.0 in /home/pai/lib/python3.6/site-packages (from transformers<4.22.0,>=4.15.0->lavis==0.1.0) (0.4.0)
Requirement already satisfied: importlib-metadata in /home/pai/lib/python3.6/site-packages (from transformers<4.22.0,>=4.15.0->lavis==0.1.0) (4.2.0)
Requirement already satisfied: requests in /home/pai/lib/python3.6/site-packages (from transformers<4.22.0,>=4.15.0->lavis==0.1.0) (2.25.1)
Requirement already satisfied: tokenizers!=0.11.3,<0.13,>=0.11.1 in /home/pai/lib/python3.6/site-packages (from transformers<4.22.0,>=4.15.0->lavis==0.1.0) (0.12.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/pai/lib/python3.6/site-packages (from packaging->lavis==0.1.0) (3.0.6)
Requirement already satisfied: wcwidth in /home/pai/lib/python3.6/site-packages (from ftfy->lavis==0.1.0) (0.2.5)
Requirement already satisfied: typing-extensions in /home/pai/lib/python3.6/site-packages (from iopath->lavis==0.1.0) (4.0.1)
Requirement already satisfied: portalocker in /home/pai/lib/python3.6/site-packages (from iopath->lavis==0.1.0) (2.6.0)
Requirement already satisfied: decorator in /home/pai/lib/python3.6/site-packages (from ipython->lavis==0.1.0) (4.4.2)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /home/pai/lib/python3.6/site-packages (from ipython->lavis==0.1.0) (3.0.24)
Requirement already satisfied: traitlets>=4.2 in /home/pai/lib/python3.6/site-packages (from ipython->lavis==0.1.0) (4.3.3)
Requirement already satisfied: backcall in /home/pai/lib/python3.6/site-packages (from ipython->lavis==0.1.0) (0.2.0)
Requirement already satisfied: pickleshare in /home/pai/lib/python3.6/site-packages (from ipython->lavis==0.1.0) (0.7.5)
Requirement already satisfied: jedi<=0.17.2,>=0.10 in /home/pai/lib/python3.6/site-packages (from ipython->lavis==0.1.0) (0.17.2)
Requirement already satisfied: setuptools>=18.5 in /home/pai/lib/python3.6/site-packages (from ipython->lavis==0.1.0) (58.0.4)
Requirement already satisfied: pygments in /home/pai/lib/python3.6/site-packages (from ipython->lavis==0.1.0) (2.10.0)
Requirement already satisfied: pexpect in /home/pai/lib/python3.6/site-packages (from ipython->lavis==0.1.0) (4.8.0)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in /home/pai/lib/python3.6/site-packages (from omegaconf->lavis==0.1.0) (4.9.3)
Requirement already satisfied: kaggle in /home/pai/lib/python3.6/site-packages (from opendatasets->lavis==0.1.0) (1.5.12)
Requirement already satisfied: click in /home/pai/lib/python3.6/site-packages (from opendatasets->lavis==0.1.0) (8.0.4)
Requirement already satisfied: python-dateutil>=2.7.3 in /home/pai/lib/python3.6/site-packages (from pandas->lavis==0.1.0) (2.8.2)
Requirement already satisfied: pytz>=2017.2 in /home/pai/lib/python3.6/site-packages (from pandas->lavis==0.1.0) (2021.3)
Requirement already satisfied: tenacity>=6.2.0 in /home/pai/lib/python3.6/site-packages (from plotly->lavis==0.1.0) (8.0.1)
Requirement already satisfied: six in /home/pai/lib/python3.6/site-packages (from plotly->lavis==0.1.0) (1.16.0)
Requirement already satisfied: identify>=1.0.0 in /home/pai/lib/python3.6/site-packages (from pre-commit->lavis==0.1.0) (2.4.4)
Requirement already satisfied: toml in /home/pai/lib/python3.6/site-packages (from pre-commit->lavis==0.1.0) (0.10.2)
Requirement already satisfied: virtualenv>=20.0.8 in /home/pai/lib/python3.6/site-packages (from pre-commit->lavis==0.1.0) (20.16.2)
Requirement already satisfied: nodeenv>=0.11.1 in /home/pai/lib/python3.6/site-packages (from pre-commit->lavis==0.1.0) (1.6.0)
Requirement already satisfied: cfgv>=2.0.0 in /home/pai/lib/python3.6/site-packages (from pre-commit->lavis==0.1.0) (3.3.1)
Requirement already satisfied: importlib-resources<5.3 in /home/pai/lib/python3.6/site-packages (from pre-commit->lavis==0.1.0) (5.2.3)
Requirement already satisfied: matplotlib>=2.1.0 in /home/pai/lib/python3.6/site-packages (from pycocotools->lavis==0.1.0) (3.3.4)
Requirement already satisfied: scipy>=1.0.1 in /home/pai/lib/python3.6/site-packages (from scikit-image->lavis==0.1.0) (1.5.4)
Requirement already satisfied: imageio>=2.3.0 in /home/pai/lib/python3.6/site-packages (from scikit-image->lavis==0.1.0) (2.15.0)
Requirement already satisfied: pillow!=7.1.0,!=7.1.1,>=4.3.0 in /home/pai/lib/python3.6/site-packages (from scikit-image->lavis==0.1.0) (8.4.0)
Requirement already satisfied: networkx>=2.0 in /home/pai/lib/python3.6/site-packages (from scikit-image->lavis==0.1.0) (2.5.1)
Requirement already satisfied: tifffile>=2019.7.26 in /home/pai/lib/python3.6/site-packages (from scikit-image->lavis==0.1.0) (2020.9.3)
Requirement already satisfied: PyWavelets>=1.1.1 in /home/pai/lib/python3.6/site-packages (from scikit-image->lavis==0.1.0) (1.1.1)
Requirement already satisfied: validators in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (0.20.0)
Requirement already satisfied: protobuf<4,>=3.12 in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (3.19.1)
Requirement already satisfied: tornado>=5.0 in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (6.1)
Requirement already satisfied: attrs in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (21.2.0)
Requirement already satisfied: blinker in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (1.5)
Requirement already satisfied: cachetools>=4.0 in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (4.2.4)
Requirement already satisfied: watchdog in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (2.2.0)
Requirement already satisfied: pyarrow in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (6.0.1)
Requirement already satisfied: tzlocal in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (4.1)
Requirement already satisfied: gitpython!=3.1.19 in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (3.1.18)
Requirement already satisfied: pydeck>=0.1.dev5 in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (0.6.2)
Requirement already satisfied: altair>=3.2.0 in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (4.1.0)
Requirement already satisfied: semver in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (2.13.0)
Requirement already satisfied: rich in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (12.6.0)
Requirement already satisfied: pympler>=0.9 in /home/pai/lib/python3.6/site-packages (from streamlit->lavis==0.1.0) (1.0.1)
Requirement already satisfied: braceexpand in /home/pai/lib/python3.6/site-packages (from webdataset->lavis==0.1.0) (0.1.7)
Requirement already satisfied: entrypoints in /home/pai/lib/python3.6/site-packages (from altair>=3.2.0->streamlit->lavis==0.1.0) (0.3)
Requirement already satisfied: jsonschema in /home/pai/lib/python3.6/site-packages (from altair>=3.2.0->streamlit->lavis==0.1.0) (4.0.0)
Requirement already satisfied: jinja2 in /home/pai/lib/python3.6/site-packages (from altair>=3.2.0->streamlit->lavis==0.1.0) (3.0.3)
Requirement already satisfied: toolz in /home/pai/lib/python3.6/site-packages (from altair>=3.2.0->streamlit->lavis==0.1.0) (0.12.0)
Requirement already satisfied: gitdb<5,>=4.0.1 in /home/pai/lib/python3.6/site-packages (from gitpython!=3.1.19->streamlit->lavis==0.1.0) (4.0.9)
Requirement already satisfied: zipp>=0.5 in /home/pai/lib/python3.6/site-packages (from importlib-metadata->transformers<4.22.0,>=4.15.0->lavis==0.1.0) (3.6.0)
Requirement already satisfied: parso<0.8.0,>=0.7.0 in /home/pai/lib/python3.6/site-packages (from jedi<=0.17.2,>=0.10->ipython->lavis==0.1.0) (0.7.1)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/pai/lib/python3.6/site-packages (from matplotlib>=2.1.0->pycocotools->lavis==0.1.0) (1.3.1)
Requirement already satisfied: cycler>=0.10 in /home/pai/lib/python3.6/site-packages (from matplotlib>=2.1.0->pycocotools->lavis==0.1.0) (0.11.0)
Requirement already satisfied: ipywidgets>=7.0.0 in /home/pai/lib/python3.6/site-packages (from pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (7.6.5)
Requirement already satisfied: ipykernel>=5.1.2 in /home/pai/lib/python3.6/site-packages (from pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (5.5.6)
Requirement already satisfied: ipython-genutils in /home/pai/lib/python3.6/site-packages (from traitlets>=4.2->ipython->lavis==0.1.0) (0.2.0)
Requirement already satisfied: platformdirs<3,>=2 in /home/pai/lib/python3.6/site-packages (from virtualenv>=20.0.8->pre-commit->lavis==0.1.0) (2.4.0)
Requirement already satisfied: distlib<1,>=0.3.1 in /home/pai/lib/python3.6/site-packages (from virtualenv>=20.0.8->pre-commit->lavis==0.1.0) (0.3.6)
Requirement already satisfied: certifi in /home/pai/lib/python3.6/site-packages (from kaggle->opendatasets->lavis==0.1.0) (2021.5.30)
Requirement already satisfied: python-slugify in /home/pai/lib/python3.6/site-packages (from kaggle->opendatasets->lavis==0.1.0) (6.1.2)
Requirement already satisfied: urllib3 in /home/pai/lib/python3.6/site-packages (from kaggle->opendatasets->lavis==0.1.0) (1.26.4)
Requirement already satisfied: ptyprocess>=0.5 in /home/pai/lib/python3.6/site-packages (from pexpect->ipython->lavis==0.1.0) (0.7.0)
Requirement already satisfied: chardet<5,>=3.0.2 in /home/pai/lib/python3.6/site-packages (from requests->transformers<4.22.0,>=4.15.0->lavis==0.1.0) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /home/pai/lib/python3.6/site-packages (from requests->transformers<4.22.0,>=4.15.0->lavis==0.1.0) (2.6)
Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in /home/pai/lib/python3.6/site-packages (from rich->streamlit->lavis==0.1.0) (0.9.1)
Requirement already satisfied: joblib in /home/pai/lib/python3.6/site-packages (from sacremoses->transformers<4.22.0,>=4.15.0->lavis==0.1.0) (1.1.0)
Requirement already satisfied: pytz-deprecation-shim in /home/pai/lib/python3.6/site-packages (from tzlocal->streamlit->lavis==0.1.0) (0.1.0.post0)
Requirement already satisfied: backports.zoneinfo in /home/pai/lib/python3.6/site-packages (from tzlocal->streamlit->lavis==0.1.0) (0.2.1)
Requirement already satisfied: smmap<6,>=3.0.1 in /home/pai/lib/python3.6/site-packages (from gitdb<5,>=4.0.1->gitpython!=3.1.19->streamlit->lavis==0.1.0) (5.0.0)
Requirement already satisfied: jupyter-client in /home/pai/lib/python3.6/site-packages (from ipykernel>=5.1.2->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (7.1.0)
Requirement already satisfied: jupyterlab-widgets>=1.0.0 in /home/pai/lib/python3.6/site-packages (from ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (1.0.2)
Requirement already satisfied: widgetsnbextension~=3.5.0 in /home/pai/lib/python3.6/site-packages (from ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (3.5.2)
Requirement already satisfied: nbformat>=4.2.0 in /home/pai/lib/python3.6/site-packages (from ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (5.1.3)
Requirement already satisfied: MarkupSafe>=2.0 in /home/pai/lib/python3.6/site-packages (from jinja2->altair>=3.2.0->streamlit->lavis==0.1.0) (2.0.1)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /home/pai/lib/python3.6/site-packages (from jsonschema->altair>=3.2.0->streamlit->lavis==0.1.0) (0.18.0)
Requirement already satisfied: text-unidecode>=1.3 in /home/pai/lib/python3.6/site-packages (from python-slugify->kaggle->opendatasets->lavis==0.1.0) (1.3)
Requirement already satisfied: tzdata in /home/pai/lib/python3.6/site-packages (from pytz-deprecation-shim->tzlocal->streamlit->lavis==0.1.0) (2021.5)
Requirement already satisfied: jupyter-core in /home/pai/lib/python3.6/site-packages (from nbformat>=4.2.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (4.9.1)
Requirement already satisfied: notebook>=4.4.1 in /home/pai/lib/python3.6/site-packages (from widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (6.4.6)
Requirement already satisfied: pyzmq>=13 in /home/pai/lib/python3.6/site-packages (from jupyter-client->ipykernel>=5.1.2->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (22.3.0)
Requirement already satisfied: nest-asyncio>=1.5 in /home/pai/lib/python3.6/site-packages (from jupyter-client->ipykernel>=5.1.2->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (1.5.4)
Requirement already satisfied: nbconvert in /home/pai/lib/python3.6/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (6.0.7)
Requirement already satisfied: argon2-cffi in /home/pai/lib/python3.6/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (21.3.0)
Requirement already satisfied: terminado>=0.8.3 in /home/pai/lib/python3.6/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (0.12.1)
Requirement already satisfied: prometheus-client in /home/pai/lib/python3.6/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (0.12.0)
Requirement already satisfied: Send2Trash>=1.8.0 in /home/pai/lib/python3.6/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (1.8.0)
Requirement already satisfied: argon2-cffi-bindings in /home/pai/lib/python3.6/site-packages (from argon2-cffi->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (21.2.0)
Requirement already satisfied: testpath in /home/pai/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (0.5.0)
Requirement already satisfied: jupyterlab-pygments in /home/pai/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (0.1.2)
Requirement already satisfied: bleach in /home/pai/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (4.1.0)
Requirement already satisfied: pandocfilters>=1.4.1 in /home/pai/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (1.5.0)
Requirement already satisfied: nbclient<0.6.0,>=0.5.0 in /home/pai/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (0.5.9)
Requirement already satisfied: mistune<2,>=0.8.1 in /home/pai/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (0.8.4)
Requirement already satisfied: defusedxml in /home/pai/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (0.7.1)
Requirement already satisfied: async-generator in /home/pai/lib/python3.6/site-packages (from nbclient<0.6.0,>=0.5.0->nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (1.10)
Requirement already satisfied: cffi>=1.0.1 in /home/pai/lib/python3.6/site-packages (from argon2-cffi-bindings->argon2-cffi->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (1.14.5)
Requirement already satisfied: webencodings in /home/pai/lib/python3.6/site-packages (from bleach->nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (0.5.1)
Requirement already satisfied: pycparser in /home/pai/lib/python3.6/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit->lavis==0.1.0) (2.18)
Installing collected packages: lavis
  Running setup.py develop for lavis
Successfully installed lavis-0.1.0
dxli94 commented 1 year ago

May I know your platform?

slyviacassell commented 1 year ago

Some information about the environment:

slyviacassell commented 1 year ago

When upgrading python to version 3.7, all the problems are resolved.