IBM Support

PIP install conflict in scipy reported with previous version of requirements.txt when testing local functions

Troubleshooting


Problem

When building a custom function and testing it in your local environment using the previous version of your requirements.txt, your installation may fail with this pip conflict:
ERROR: Cannot install -r requirements.txt (line 11), -r requirements.txt (line 26), -r requirements.txt (line 31), -r requirements.txt (line 32), -r requirements.txt (line 34), -r requirements.txt (line 39), -r requirements.txt (line 40), -r requirements.txt (line 42), -r requirements.txt (line 5) and scipy==1.5.0 because these package versions have conflicting dependencies.

The conflict is caused by:_
    The user requested scipy==1.5.0
    imbalanced-learn 0.7.0 depends on scipy>=0.19.1
    lightgbm 3.1.1 depends on scipy
    pyod 0.7.5 depends on scipy>=0.19.1
    scikit-image 0.16.2 depends on scipy>=0.19.0
    scikit-learn 0.23.1 depends on scipy>=0.19.1
    seaborn 0.10.1 depends on scipy>=1.0.1
    statsmodels 0.11.1 depends on scipy>=1.0
    stumpy 1.5.1 depends on scipy>=1.2.1
    tensorflow 2.1.0 depends on scipy==1.4.1; python_version >= "3"

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSRHPA","label":"IBM Maximo Application Suite"},"ARM Category":[{"code":"a8m3p000000hAeKAAU","label":"Maximo Application Suite-\u003EMAS Applications-\u003EMonitor"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.0;8.6.0"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
26 October 2021

UID

ibm16508834