Hello I have been struggling with installing the packages needed for my app.py. I have installed the packages via ‘tools’ with the package installer. I can see the packaged as being installed. But When I run the app, it won’t find the packages.
So I forked it and I tried uninstalling the package and tried pip install textract and that didn’t work. Then, I ran this command: poetry add textract and it seemed to work in shell, I got no errors, but I received the same error as @JoepBaks
Forking seems to have the same problem. I recommend you try downloading the project as zip, upload all the files and folders in a new python project, but don’t upload the .replit file or the .nix file. Then, try running poetry add textract in the new python repl.
But I realized that the .nix file looked… different from usual. So I found the official Python template and copied over the .nix file. That gave me a whole new set of annoying errors. So what I did was check the original nix file in “caogptv2” and your new version has a different nix file. I copied over the old nix file to the new nix file. I got this error [REMOVED IN EDIT]