Install Pipenv
Install pip.
On a macOS:
sh
   sudo easy_install pip
On Ubuntu with Python 3:
sh
   sudo apt-get install python3-pip
For other Linux distributions, see How to install PIP for Python.
Install pipenv.
sh
   pip3 install pipenv
Create a new environment with Streamlit
Navigate to your project folder:
sh
   cd myproject
Create a new Pipenv environment in that folder and activate that environment:
sh
   pipenv shell
When you run the command above, a file called Pipfile will appear in myprojects/. This file is where your Pipenv environment and its dependencies are declared.
Install Streamlit in your environment:
sh
   pip install streamlit
Or if you want to create an easily-reproducible environment, replace pip with pipenv every time you install something:
sh
   pipenv install streamlit
