**Question: Whenever I install a new python library replit removes pycparser and downgrades my libraries when attempting to update **
As you can see in the screenshot pycparser was removed and discord.py and other libraries were downgraded. I did not ask for this it simply happens every single time I try install a new library. This is very annoying because I need to manually update discord.py each time. Screenshots, links, or other helpful context:
If poetry is downgrading packages, this most likely means that there are compatibility issues with the python versions.
In the pyproject.toml file under the [tool.poetry.dependencies] section, there is a python “package” specifying the allowed python versions. You can try to modify this to fix the issue, such as by removing the max version cap.
Note that this might lead to dependency conflicts (but poetry will tell you a possible solution).