Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Streamlit install fails
-
I wanted to see if I could install Streamlit (a Webapp development platform). I used pip with Stash and it ended with:
Running setup file ... TypeError("unsupported operand type(s) for +: 'OmniClass' and 'list'",) Failed to run setup.py Fall back to directory guessing ... Error: Cannot locate packages. Manual installation required. ```
-
https://github.com/streamlit/streamlit/search?l=typescript is NOT a pure Python package.
-
As @ccc said
-
It's not obvious that those other languages will prevent it from running on pythonista-- the JavaScript is there for clients. The typescript is there either, I believe, for creation of your own components. But I don't see a reason in theory why using pre-built components wouldn't work.
I will say that the setup.py is pretty nonstandard, and uses shell commands to do some of its job
I'd try installing manually -- wget the archive, unzip, then move the streamlit/lib/streamlit folder to site-packages. Then try importing it, see what breaks, install those dependencies, rinse, repeat.
I'm not sure where all of the components are supposed to get installed, maybe you pip install those.
This requires tornado, I forget if that works on pythonista. Also, whatever is launching the browser would need to be replaced with a WebView, or maybe @mikael,'s wkwebview.