evan54
December 15, 2023, 11:33am
1
Is it possible to drop into a terminal to see what error occurs during the installation of the dependencies.
Iβve got an environment.yml file that works locally but seems to error out with very little information.
Any way to further debug this?
[11:10:36] π₯ Provisioning machine...
[11:10:36] π Preparing system...
[11:10:36] β Spinning up manager process...
[11:10:39] π Disconnecting...
[11:10:45] π₯ Provisioning machine...
[11:10:51] π Preparing system...
[11:10:57] β Spinning up manager process...
[11:10:41] π Starting up repository: 'dashboard_test', branch: 'main', main module: 'my_app.py'
[11:10:41] π Cloning repository...
[11:10:43] π Cloning into '/mount/src/dashboard_test'...
Warning: Permanently added the ED25519 host key for IP address 'XXXXX' to the list of known hosts.
[11:10:43] π Cloned repository!
[11:10:43] π Pulling code changes from Github...
[11:10:43] π¦ Processing dependencies...
Collecting package metadata (repodata.json): ...working... [2023-12-15 11:11:25.341406] bash: line 3: 11 Killed /home/adminuser/.conda/bin/conda env update -n base --file environment.yml
[11:11:25] βοΈ installer returned a non-zero exit code
[11:11:25] βοΈ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
Franky1
December 15, 2023, 11:37am
2
Please share a link to your public github repo.
Franky1
December 15, 2023, 12:22pm
4
Remove the conda file and try this one:
requirements.txt
--extra-index-url https://bcms.bloomberg.com/pip/simple
blpapi==3.23.1
plotly
streamlit
evan54
December 15, 2023, 12:24pm
5
no this wonβt work as pip doesnβt install some c++ dependencies hence the need for conda-forge.
seems like itβs a well documented issue that conda-forge doesnβt work in the streamlit app due to resource issues.
Is there a way to pay for more resources or get them allocated even temporarily to see if this actually solves the problem.
conda-forge related problems mentioned:
Hello everyone,
I am trying to deploy my first app. (repo link )
When doing so, I get the message " Error installing requirements". There are no helpful debugging details (that I can see) in the logs, so I donβt really know what to fixβ¦
[ UTC ] Logs for james-leslie-fantasy-premier-league-srcapp-iyd11a.streamlitapp.com/
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
[04:16:19] Provisioning machine...
[04:12:44] Starting up repository: 'fantβ¦
PLEASE HELP ME UNDERSTAND.
Here is the link to my github repo if you would like a more detailed analysis: GitHub - ShaheerSyed/mdsimulation-streamlit
I just want to know if we can or cannot deploy applications on the community cloud if the application uses conda environment packages.
If you look at my repo, I have included an environment.yml file. I donβt think there is any issue with the repo or code itself.
The error I got when trying to deploy is below:
Collecting package metadata (repodβ¦
Hi,
if I add conda-forge to resolve dependencies, I get:
Collecting package metadata (repodata.json): ...working... [2023-03-23 12:56:37.063958] bash: line 3: 16 Killed /home/appuser/.conda/bin/conda env update -n base --file environment.yml
[12:56:37] installer returned a non-zero exit code
Is it possible to get additional error logs? Is this a known streamlit issue?
My environment:
Franky1
December 15, 2023, 12:27pm
7
Have you even tried?
The Bloomberg repo provides wheels , therefore this should work.
I tried it in a python 3.11 docker container and installation worked.
https://www.bloomberg.com/professional/support/api-library/
We support and provide wheels for Python 3.8, 3.9, 3.10 and 3.11; Both 32 and 64 bits, for Windows, macOS, and most versions of Linux. These wheels now come bundled with the required C++ API , and a separate C++ API installation is no longer required.
https://bcms.bloomberg.com/pip/simple/blpapi/
evan54
December 15, 2023, 9:48pm
8
I stand corrected! this worked!
system
Closed
December 17, 2023, 9:49pm
9
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.