I would love if just it where that simple. I have however not been able to install Streamlit this way on a fresh install of 2020-08-20-raspios-buster-armhf-lite (Debian 10, “Buster”) on a Raspberry Pi 4 Model B, 2 Gb RAM.
Just to eliminate that source of error I did not install any virtual Python environment.
Still, I got his error:
Traceback (most recent call last):
File "/home/pi/.local/bin/cmake", line 6, in <module> from cmake import cmake
ModuleNotFoundError: No module named ‘cmake’
error: command ‘cmake’ failed with exit status 1
The fun thing, though, is that if I just go to Python (Python 3.7.3) I have no trouble importing cmake from cmake.