Py requirements dependencies issue

Hi all,

I am trying to deploy streamlit app with the following requirements.txt:

Earlier, I tried deploying with a larger set of dependencies:

However, even after creating new apps and rebooting / redeploying multiple times, I am still facing the error of resolving dependencies (from the older requirements.txt). Looks like requirements are getting cached. Is it possible to clear / invalidate the cache?


[18:05:59] πŸ™ Cloning repository...
[18:06:01] πŸ™ Cloning into '/mount/src/gptlens'...
Warning: Permanently added the ED25519 host key for IP address '' to the list of known hosts.
[18:06:01] πŸ™ Cloned repository!
[18:06:01] πŸ™ Pulling code changes from Github...
[18:06:02] πŸ“¦ Processing dependencies...
Collecting package metadata (repodata.json): ...working... [2024-02-05 18:06:18.063722] done
Solving environment: ...working... [2024-02-05 18:06:18.070457] failed

  - wheel==0.41.2=py311haa95532_0
  - ca-certificates==2023.12.12=haa95532_0
  - tk==8.6.12=h2bbff1b_0
  - zlib==1.2.13=h8cc25b3_0
  - setuptools==68.2.2=py311haa95532_0
  - pip==23.3.1=py311haa95532_0
  - xz==5.4.5=h8cc25b3_0
  - sqlite==3.41.2=h2bbff1b_0
  - python==3.11.7=he1021f5_0
  - vs2015_runtime==14.27.29016=h5e58377_2
  - bzip2==1.0.8=he774522_0
  - vc==14.2=h21ff451_1
  - libffi==3.4.4=hd77b12b_0
  - openssl==3.0.13=h2bbff1b_0

:rotating_light: Before clicking β€œCreate Topic”, please make sure your post includes the following information (otherwise, the post will be locked). :rotating_light:

  1. Share the link to the public deployed app.
  2. Share the link to your app’s public GitHub repository (including a requirements file).
  3. Share the full text of the error message (not a screenshot).
  4. Share the Streamlit and Python versions.

I realized the problem was I had an environment.yml file and streamlit was trying to use both requirements.txt and environment.yml. I removed the yml file and the app loaded.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.