Fix Missing libuuid Library
Hey, I am currently runnig into problems deploying my FastAPI backend after adding a new dependency to my requirements.txt (azure-cognitiveservices-speech==1.31.0).
project and service id:
project/21c22b76-3eeb-4e49-8c44-af1f48a72060/service/b1ea6565-9ca2-485e-8f39-be6b7f6cbbe9
Error:
I tried installing it in my nixpacks.toml file, but it still doesn't work
40 Replies
Project ID:
21c22b76-3eeb-4e49-8c44-af1f48a72060,b1ea6565-9ca2-485e-8f39-be6b7f6cbbe9
please enclose code blocks with tripple backticks
as for the missing
libuuid
try adding this to your nixpacks.toml file
yes, just formatted!
and thanks, just redeployed to test again
chill with the edits
yeah sorry just wanted to include the error message
think my message disappeared
it wasnt deleted by the bot
I'm running into other problems with the azure package when I try to call the tts code. I need to install more dependencies according:
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/quickstarts/setup-platform?pivots=programming-language-csharp&tabs=linux%2Crhel-centos%2Cdotnetcli%2Cdotnet%2Cjre%2Cmaven%2Cnodejs%2Cmac%2Cpypi
current nixpacks:
error:
https://codeshare.io/OdbNl0
Install the Speech SDK - Azure AI services
In this quickstart, you'll learn how to install the Speech SDK for your preferred programming language.
Any idea what might be going on? sry for the edits
so is this a python app or a node app?
python fastapi server
im just installing node to install prisma which is used by the python prisma port (IIRC)
i thought it was a native python package
double check that
yeah I think the command lines commands still use the regular prima commands
so yes it does need node?
yes
is that a problem?
no, just odd
send full logs please
this seems to be the problem:
The Speech SDK does not yet support OpenSSL 3.0, which is the default in Ubuntu 22.04 and Debian 12.
locally, I have: OpenSSL 1.1.1u 30 May 2023
on railway, I have:
OpenSSL 3.0.7 1 Nov 2022
kinda cringe Microsoft, not supporting openssl 1
yeah super annoying
im getting destroyed over here
trying to downgrade openssll with these environment variables
NIXPACKS_DEBIAN
1
NIXPACKS_NIX_PKG
openssl
but shit hits the fan when deploying
do u see any solution that I could try to get this thing to work?
saw this other comment of you that newer nixpacks versions are likely only using openssl 3
bruh your already defining your nixPkgs in the nixpacks.toml file
what do u mean
🤨
sorry brah
you are already defining your nix packages in the nixpacks.toml file, don't go defining nix packages in the environment variables too
NIXPACKS_DEBIAN
= 1
should be sufficientso I can define the openssl version in nixpacks.toml?
okay sweet, got it. this is new deployment error log. trying to debug it rn
send your nixpacks.toml file
yeah I just fixed by ditching microsoft
cant deal with that shit anymore
lmfao what did you use instead
Solution
www.unrealspeech.com
just was on a call with the founder
he send over code snippet, things worked in 30 seconds
ay i love that
yeah thats 1000% a better solution
yeah
thanks for the help anyways
and being patient with me
lmao
always avoid clunky deps if possible, they just cause more headaches then needed
and while youre at it, maybe use an orm that doesnt need a whole other programing language installed lol
the slimmer you can get your app, generally the more performant it will be, plus less resource usage so lower railway bills
yeah good point
So, is it still not possible to install azure-cognitiveservices-speech on the