Is there a way to skip "Installing dependencies" and install then using python code?

Hello
I want to import easyocr library in my python code, but it installs some big dependencies like for nvidia gpu, which are not required here as I am not using any GPU.
Can anyone help me with how can I skip those dependencies?
Or is there any way so that I can install all the required dependencies manually and skip the dependency check by replit?

Thanks

Hey @pka5667!

You can remove the extra dependencies that you don’t need in the replit.nix file (documentation)

I’d be happy to see what Nix packages are extraneous if you send me the link to your Repl!

2 Likes

Thanks for reply @ShaneAtReplit

I can remove extra dependencies but the storage gets full before it completes the intallation of pakages. And if I try after removing packages it will again start to download the same libraries and dependencies.

Link to repl- https://replit.com/@pka5667/Easy-OCR#main.py

1 Like

Hey @pka5667!

What packages are you installing? Could you record a video (I recommend using https://loom.com) so I can get a better idea of how the issue is occurring?

1 Like

Nevermind, I was able to reproduce the issue you ran into. No need to record a video, we will look into this!

1 Like