i tried removing it from pyproject.toml yet when i run it, it installs discord.py , how do i force it to not install packages?
Hi @whiteblack12 !
In the .replit
file, add these lines below the entrypoint
line:
disableGuessImports = true
disableInstallBeforeRun = true
You can access the .replit
file, by first clicking on the three dots ( ⋮ ) next to where it says Files >
, then click Show Hidden Files, finally open the .replit
file.
Hope this helps!
4 Likes
thank you !! this really helps me with my repls taking so much space since replit was installing so many packages which was never used in my script
1 Like
No problem, happy to help!
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.