Open ifuchs opened 2 years ago
Carnets plus still crashes during the install. However Carnets (not plus) seems to complete the install:
Successfully installed altair-4.2.0 astor-0.8.1 base58-2.1.1 blinker-1.4 click-8.0.4 gitdb-4.0.9 gitpython-3.1.27 importlib-metadata-4.11.2 protobuf-3.19.4 pyarrow-7.0.0 pydeck-0.7.1 pympler-1.0.1 semver-2.13.0 smmap-5.0.0 streamlit-1.6.0 toml-0.10.2 toolz-0.11.2 validators-0.18.2 widgetsnbextension-3.5.2 zipp-3.7.0
But when I then import streamlit, I get:
ImportError Traceback (most recent call last)
Input In [2], in <module>
----> 1 import streamlit
File /var/mobile/Containers/Data/Application/2C1B29EA-4C82-430D-B644-EE505F9F0FF1/Library/lib/python3.9/site-packages/streamlit/__init__.py:70, in <module>
68 from streamlit import source_util as _source_util
69 from streamlit import string_util as _string_util
---> 70 from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
71 from streamlit.script_run_context import add_script_run_ctx as _add_script_run_ctx
72 from streamlit.script_run_context import get_script_run_ctx as _get_script_run_ctx
File /var/mobile/Containers/Data/Application/2C1B29EA-4C82-430D-B644-EE505F9F0FF1/Library/lib/python3.9/site-packages/streamlit/delta_generator.py:19, in <module>
16 from typing import Optional, Iterable
18 import streamlit as st
---> 19 from streamlit import cursor, caching
20 from streamlit import legacy_caching
21 from streamlit import type_util
File /var/mobile/Containers/Data/Application/2C1B29EA-4C82-430D-B644-EE505F9F0FF1/Library/lib/python3.9/site-packages/streamlit/cursor.py:18, in <module>
15 from typing import Optional, Tuple, Any, List
17 from streamlit import util
---> 18 from streamlit.script_run_context import get_script_run_ctx
21 def make_delta_path(
22 root_container: int, parent_path: Tuple[int, ...], index: int
23 ) -> List[int]:
24 delta_path = [root_container]
File /var/mobile/Containers/Data/Application/2C1B29EA-4C82-430D-B644-EE505F9F0FF1/Library/lib/python3.9/site-packages/streamlit/script_run_context.py:23, in <module>
21 from streamlit.logger import get_logger
22 from streamlit.proto.ForwardMsg_pb2 import ForwardMsg
---> 23 from streamlit.state.session_state import SessionState
24 from streamlit.uploaded_file_manager import UploadedFileManager
26 LOGGER = get_logger(__name__)
File /var/mobile/Containers/Data/Application/2C1B29EA-4C82-430D-B644-EE505F9F0FF1/Library/lib/python3.9/site-packages/streamlit/state/session_state.py:18, in <module>
16 import json
17 from streamlit.stats import CacheStat, CacheStatsProvider
---> 18 from streamlit.type_util import Key
19 from typing import (
20 TYPE_CHECKING,
21 Any,
(...)
32 List,
33 )
35 import attr
File /var/mobile/Containers/Data/Application/2C1B29EA-4C82-430D-B644-EE505F9F0FF1/Library/lib/python3.9/site-packages/streamlit/type_util.py:22, in <module>
20 from pandas import DataFrame, Series, Index
21 import numpy as np
---> 22 import pyarrow as pa
24 from streamlit import errors
26 OptionSequence = Union[Sequence[Any], DataFrame, Series, Index, np.ndarray]
File /var/mobile/Containers/Data/Application/2C1B29EA-4C82-430D-B644-EE505F9F0FF1/Library/lib/python3.9/site-packages/pyarrow/__init__.py:65, in <module>
63 _gc_enabled = _gc.isenabled()
64 _gc.disable()
---> 65 import pyarrow.lib as _lib
66 if _gc_enabled:
67 _gc.enable()
ImportError: dlopen(/private/var/containers/Bundle/Application/2499F3FA-D12A-43FC-9144-8F1D4BD4B70C/Carnets.app/Frameworks/pythonA-pyarrow.lib.framework/pythonA-pyarrow.lib, 0x0002): tried: '/private/var/containers/Bundle/Application/2499F3FA-D12A-43FC-9144-8F1D4BD4B70C/Carnets.app/Frameworks/pythonA-pyarrow.lib.framework/pythonA-pyarrow.lib' (no such file), '/System/Library/Frameworks/pythonA-pyarrow.lib.framework/pythonA-pyarrow.lib' (no such file)
From the line at the bottom of the error message, the issue is with pyarrow. pyarrow is an Apache library which has C components, so it makes sense that it cannot be installed. Since streamlit has a dependency on pyarrow, it cannot be installed either.
Any chance of pyarrow being added so that Streamlit could be installed?
Has anyone tried to install Streamlit (Webapp development platform)? When I tried, Carnets crashed.