Package not found though I am importing it
I am getting the below error
`
Despite the fact that rapidocr-onnxruntime is in my requirements.txt (I tried both specifying and not specifying a version to check if that was the issue). Any suggestions on getting this fixed?
Solution:Jump to solution
sometimes nixpacks just doesnt cut it and you have to cut your losses and switch to a Dockerfile
37 Replies
Project ID:
N/A
N/A
do you have other package management types other than requirements.txt?
Nope just that and my nixpacks.toml that looks like the below
full build logs please, you have the bookmarklet right?
i dont think so, is there a way for me to export the build logs as like a txt?
you've exceeded the 1500 log line limit of that bookmarklet, instead send me a screenshot of the build table at the top of the build logs
My requirements.txt looks like the below
it's definitely being installed
yeah, but for some reason i get this error,
are you sure there aren't other errors?
yup, only looks to be this
send the deployment logs anyway
yup
anything useful?
I don't see the error?
send the deploy logs please
its in the logs above
oh it is, im blind
yeah i was thinking it could be related to using the wrog version of python ( i am using 3.10 locally, but 3.11 on railway ), any suggestions
or im just not installing it for some reason
if you want railway to use 3.10 add a runtime.txt file with
3.10
in itlemme try that rn
huh my build fails when my runtime.txt has the below
python-3.10.2
i did say
3.10
but logs pleaseahh mb lemme change that
so how long are we going to keep messing about with nixpacks until you move to a Dockerfile?
lmao, u got me. Lemme switch
Solution
sometimes nixpacks just doesnt cut it and you have to cut your losses and switch to a Dockerfile
yea was hoping to avoid it for time being, but looks like not the case here
youll have a better experience in the end
yup just switched over, everything looks good man
awesome!