tensorflowtfx

pip._vendor.resolvelib.resolvers.ResolutionTooDeep: 200000


I encountered the error "ResolutionTooDeep: 200000" when attempting to install TensorFlow Extended (TFX) on Ubuntu 22.04 using the command 'pip install tfx.'

Error Picture Install tfx

I tried installing TFX using the pip command mentioned above. I expected the installation to proceed without errors, but instead, I received the mentioned error.

PS: Before I installed TFX, I installed TensorFlow, Flask, etc., using this command: "pip install jupyter scikit-learn tensorflow flask joblib".


Solution

  • I figured it out how to install tfx without any error using this command:

    pip install --extra-index-url https://pypi-nightly.tensorflow.org/simple --pre tfx
    

    Thanks to this github issue https://github.com/tensorflow/tfx/issues/5930, I was able to install tfx.