Cant deploy conda app to streamlit

ResolvePackageNotFound:

  • xlwings=0.24.9

  • pywin32=228

  • m2w64-mpc=1.0.3

  • m2w64-winpthreads-git=5.0.0.4634.697f757

  • m2w64-gmp=6.1.0

  • comtypes=1.1.10

  • icc_rt=2019.0.0

  • m2w64-windows-default-manifest=6.4

  • libpython=2.1

  • pyreadline=2.1

  • m2w64-binutils=2.25.1

  • m2w64-make=4.1.2351.a80a8b8

  • m2w64-gcc-fortran=5.3.0

  • powershell_shortcut=0.0.1

  • vc=14.2

  • m2w64-gcc-libs=5.3.0

  • menuinst=1.4.18

  • m2w64-toolchain_win-64=2.4.0

  • m2w64-gcc-ada=5.3.0

  • m2w64-bzip2=1.0.6

  • pywinpty=0.5.7

  • m2w64-gcc-libgfortran=5.3.0

  • m2w64-toolchain=5.3.0

  • m2w64-gcc-objc=5.3.0

  • m2w64-libiconv=1.14

  • m2w64-libmangle-git=5.0.0.4509.2e5a9a2

  • m2w64-pkg-config=0.29.1

  • m2w64-zlib=1.2.8

  • m2w64-mpfr=3.1.4

  • m2w64-libwinpthread-git=5.0.0.4634.697f757

  • m2w64-gcc=5.3.0

  • vs2015_runtime=14.27.29016

  • winpty=0.4.3

  • wincertstore=0.2

  • pywin32-ctypes=0.2.0

  • m2w64-tools-git=5.0.0.4592.90b8472

  • m2w64-crt-git=5.0.0.4636.2595836

  • m2w64-isl=0.16.1

  • win_inet_pton=1.1.0

  • win_unicode_console=0.5

  • m2w64-gcc-libs-core=5.3.0

  • m2w64-headers-git=5.0.0.4636.c0ad18a

  • msys2-conda-epoch=20160418

These are a lot of windows specific packages which you cannot install on streamlit cloud.
And i assume they are not necessary either.
Please provide a github link if you need further help.

1 Like

(post deleted by author)

hi , could you help to deploy this app

Thanks for your answer , could you help to deploy such an app GitHub - pilavov/diploma

See my pull request on github:

  • renamed environment.yml file
  • added requirements.txt file with only necessary libs
  • removed unused imports from streamlit app main.py
  • added docker toolchain for local testing
  • tested locally with docker
  • tested with Python 3.8 on streamlit cloud

You just saved my day !!
thanks a lot !!!