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.
Thanks for your reply. Indeed it seems to install. But running app.py still gives me the module not found error with regards to textract. Could it be the way my code is set-up?
I forked and removed line 6 in replit.nix as @UMARismyname said.
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]
Now, this is just plain confusing.
Edit: I did what @UMARismyname suggested. Now langchain finds itself a problem. Although I used poetry add langchain (no error was present) yet langchain cannot be found. Link to the repl: https://replit.com/@doxr/sussybaka-1