I have made a small project to host a module I want to create.
The module is a folder called ftools with a emailhtml.py and a tools.py in which i have created many functions
When I start the project, there is a poetry line :
that wants to add mongomem and gives errors of installation.
I don’t use this package anywhere in my project. I presume the automatic adding of modules is probably troubled by something in my code but how can i find what is making the project add mongomem ?
To be precise, here is the main.py and after the packager errors, the program runs fine. But i don’t want to start full of error
You can do what was suggested here to disable the automatic installation of packages:
We have recently released a patch that allows these two fields to be applied to the .replit file:
# Stops the packager from installing packages when running the Repl
disableInstallBeforeRun = true
# Stops the packager from guessing and auto-installing packages, but it still runs to install packages when running the Repl
disableGuessImports = true
Ah thanks, i had not seen that post,
really ineresting option we should have by default in the .replit (on flase by default maybe but at least present in the .replit to inform people they can disable that)
On my example, when i renamed ftools to fvtools, it worked perfectly … maybe a package named ftools is in mongomem
Thanks for your answer
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.