Hello, I am having trouble deploying a forked app to streamlit cloud. In theory, the app should work fine. Here is my github repo: GitHub - xinyang1243/streamlit-10. I also notice the following warning```WARNING: You are using pip version 22.0.3; however, version 22.3.1 is available.
I don't have this message or really any trouble at all when I deploy locally.

Are you able to use a newer version of lxml? When I don’t set the version (or specify the latest version, 4.9.1) it appears to install correctly on my test app.
I don’t know how to deal with it here but I do see some references on StackExchange re: needing to manually deal with libxslt and libxml2 in some environments, which are mentioned in your error. I just noticed that the latest version seems to bypass the problem, so thought I’d mention it in case it helps.
So my main problem seems to be that I don’t know where streamlit reads off the python data from. It seems that it is not reading from my computer as the pip versions are different and it is installing libraries that I already have and it is installing version 4.5.1 of lxml while I already had 4.9.1 on my computer.
If you know how to deal with this I would greatly appreciate it
Streamlit cloud won’t pull any packages off your computer; it’s some kind of container deployed in the cloud and it automatically installs packages from open sources using requirements files.
From your github link, I see this as your requirements file:
If you change the last line to lxml==4.9.1 or just lxml will you have any compatibility issues with your code? Or are you locked in to making 4.5.1 be the version?
Hello! I changed the requirements txt file and it worked like a charm! It seems that there is a problem with streamlit using older versions of libraries which is a bit disappointing. But thank you for your help nonetheless!
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.