Is there a way to install latest develop branch of the repo in current virutal environment? In other words, what is the recommended way to install from source? I tried following documentation from https://github.com/streamlit/streamlit/wiki/Contributing but ran into errors.
What is the quickest way to get latest-and-greatest streamlit up and running from source (possibly a docker container from source)? Not for development purposes but for some features that recently got merged.
If all you need is to run multiple Streamlit servers on different ports, but you don’t care which specific ports, then you shouldn’t need the latest and greatest version. You can just call streamlit run $APP for different values of $APP and Streamlit will pick the next available port each time. Just make sure you have the latest release of Streamlit, 0.47.4.
But you probably already knew that. So assuming that’s not good enough for you, the only solution really is to build from develop using the instructions you linked, and then do the following:
make all
make install
make wheel
Copy the wheel file from ./lib/dist/streamlit*.whl to some place you’ll remember
Then, in your Dockerfile:
a. Copy the wheel file into the container
b. Run pip install path/to/the/wheel/file.whl
That said, you mentioned you ran into problems when following the CONTRIBUTING docs, and the above depends on those instructions. So what are the errors you ran into?
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.