Basically, after my Repl migrated to Nix, I had to keep manually installing some of my python packages every time I run/every new session.
Currently, I need to manually install nextcord
, flask
and replit
.
There’s also an error in the shell that appeared when I installed replit
manually:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
nextcord 2.5.0 requires typing-extensions<5,>=4.2.0, but you have typing-extensions 3.10.0.2 which is incompatible.
This happened in my Repl called “BeedCurrency”. It’s a Discord bot.
It also happened in my Repl called “BeedBot”, another Discord bot with nextcord
, nextcordutils
, humanfriendly
and Pillow
, but I did a temporary fix:
import os
from os import system
system("pip install nextcord nextcordutils humanfriendly Pillow")
Answers are appreciated, if my question is unclear, please let me know.