I know that this can be done from the command line, and I used it, but since the location of the requirements.txt project file can be determined in PyCharm, I wonder how PyCharm uses this knowledge?
Is there a way to install requirements from this file using PyCharm or update the file if the package is installed or both?
Edit: The problem is that PyCharm offers to install the missing dependency and update the requirements.txt file, as indicated in the docs here and here , but it does not offer an update if the version is not equal to the one specified in the requirements file using package==ver or package>=ver .
source share