Ubuntu 20.04.3 LTS, streamlit 1.4 will not start

Hi,

I just started learning python programming. And to use Streamlit, more precisely to learn it.
I also managed to do a simple little program. Streamlit also runs nicely under 0.52. However, if I upgrade the version, no commands to Streamlit will start. The error message: Invalid instruction.
If I install the “Streamlit pages” pip package, the error will go away until version 0.84, but then unfortunately it will not start with this pip package, it will give the error message “It is no longer supported after version 0.84”. Please help me with a detailed description (I am a very beginner) of how I could make the newer versions work.

My system: Ubuntu 20.04.3 LTS Linux username 5.4.0-94-generic # 106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 x86_64 x86_64 GNU / Linux
python version: 3.9.9
and I use Pycharm.

Sorry if my English isn’t really perfect.

And thank you in advance for all the help

Hi @CsorbaTomi, welcome to the Streamlit community!

If you are going as far back as Streamlit 0.52, then you’re on the wrong track unfortunately. That is probably two years old at this point. The current version of Streamlit is 1.4, and a lot has changed between now and then.

Are you using a 64-bit version of Streamlit? Because of the talk of version 0.84 or so, I suspect you might be using a 32-bit version of Python, which Streamlit does not support since one of our key dependencies (Apache Arrow) does not support 32-bit versions of Python.

Best,
Randy

Hi Randy,

Thank you for your reception and quick response.

I’m using a 64-bit version in python. Streamlit will start up to version 0.84. But if I install a bigger version of it, then it is no longer willing to start anything related to streamlit. Unfortunately, not even Hello world starts and the config show doesn’t. I’ve tried a lot already but unfortunately nothing helps me to try and use a newer version. I’ll show you my pip list to see if you can see anything that may be missing and escaped my attention.

altair==4.2.0
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
astor==0.8.1
asttokens==2.0.5
attrs==21.4.0
backcall==0.2.0
base58==2.1.1
black==21.12b0
bleach==4.1.0
blinker==1.4
boto3==1.20.37
botocore==1.23.37
cachetools==5.0.0
certifi==2021.10.8
cffi==1.15.0
charset-normalizer==2.0.9
click==7.1.2
conda==4.3.16
debugpy==1.5.1
decorator==5.1.1
defusedxml==0.7.1
distlib==0.3.4
docutils==0.18.1
entrypoints==0.3
enum-compat==0.0.3
executing==0.8.2
filelock==3.4.2
future==0.18.2
gitdb==4.0.9
GitPython==3.1.26
idna==3.3
importlib-metadata==4.10.1
ipykernel==6.7.0
ipython==8.0.0
ipython-genutils==0.2.0
ipywidgets==7.6.5
jedi==0.18.1
Jinja2==3.0.3
jmespath==0.10.0
jsonschema==4.4.0
jupyter-client==7.1.1
jupyter-core==4.9.1
jupyterlab-pygments==0.1.2
jupyterlab-widgets==1.0.2
MarkupSafe==2.0.1
matplotlib-inline==0.1.3
mistune==0.8.4
mypy-extensions==0.4.3
nbclient==0.5.10
nbconvert==6.4.0
nbformat==5.1.3
nest-asyncio==1.5.4
notebook==6.4.7
numpy==1.22.1
packaging==21.3
pandas==1.2.5
pandocfilters==1.5.0
parso==0.8.3
pathspec==0.9.0
pexpect==4.8.0
pickleshare==0.7.5
Pillow==9.0.0
pipenv==2021.11.23
platformdirs==2.4.1
prometheus-client==0.12.0
prompt-toolkit==3.0.24
protobuf==3.19.3
ptyprocess==0.7.0
pure-eval==0.2.1
pyarrow==6.0.1
pycosat==0.6.3
pycparser==2.21
pydeck==0.7.1
Pygments==2.11.2
Pympler==1.0.1
pyparsing==3.0.6
pyrsistent==0.18.1
python-dateutil==2.8.0
pytz==2021.3
pytz-deprecation-shim==0.1.0.post0
pyzmq==22.3.0
requests==2.26.0
ruamel.yaml==0.17.19
ruamel.yaml.clib==0.2.6
s3transfer==0.5.0
Send2Trash==1.8.0
six==1.16.0
smmap==5.0.0
stack-data==0.1.4
streamlit==0.88.0
terminado==0.12.1
testpath==0.5.0
toml==0.10.2
tomli==1.2.3
toolz==0.11.2
tornado==6.1
traitlets==5.1.1
typing_extensions==4.0.1
tzdata==2021.5
tzlocal==4.1
urllib3==1.26.7
validators==0.18.2
virtualenv==20.11.0
virtualenv-clone==0.5.7
watchdog==2.1.6
wcwidth==0.2.5
webencodings==0.5.1
widgetsnbextension==3.5.2
zipp==3.7.0

Thank you

Tamás

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.