This topic was automatically generated from Slack. You can find the original thread here.
Hello,
I have conflicting dependencies on one of my python steps. This yields the following error while doing pip install
:
Command failed: python3 -m pip install --target=/tmp/__pdg__/dist/python -r requirements.txt --upgrade WARNING: The directory '/home/sbx_user1051/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. ERROR: Cannot install -r requirements.txt (line 2) and requests==2.28.2 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts WARNING: You are using pip version 22.0.4; however, version 23.0.1 is available. You should consider upgrading via the '/var/lang/bin/python3 -m pip install --upgrade pip' command.
Is there a way to install the previous version of request
? (2.28.1)
I know I can use the magic command to install packages but it doesn’t say anything about versioning in the documentation:
Thank you!