Help Needed: Proper Installation of TFX on Windows 10 with Pip - Facing Library Conflicts

Hello everyone,

I’m reaching out for some help on installing TFX (TensorFlow Extended) on my Windows 10 machine using pip. I’ve tried several times to set it up, but I keep running into conflicts with various Python libraries, and I’m unsure how to resolve them.

My Setup:

  • Operating System: Windows 10
  • Python Version: I’m flexible and can use any Python version (I’ve tried with Python 3.7, 3.8, and 3.9).
  • Virtual Environment: I am creating a new virtual environment for the installation.

The Problem:

Despite following the official TFX installation guide and various online resources, I encounter conflicts between different Python libraries. The exact conflicts vary depending on the Python version I use, but they generally involve incompatibilities between TensorFlow, Apache Beam, and other dependencies required by TFX.

What I’ve Tried:

  • Creating a new virtual environment with venv.
  • Installing specific versions of libraries as recommended by the official documentation.
  • Trying different Python versions (3.7, 3.8, 3.9).
  • Running pip commands with the --use-feature=2020-resolver flag to manage dependencies better.

My Question:

Could anyone provide a step-by-step guide on how to properly install TFX on Windows 10? Specifically:

  1. Which Python version should I use for the least conflict?
  2. Are there specific versions of TFX and other libraries that are known to work well together on Windows?
  3. Any tips on avoiding or resolving conflicts between TensorFlow, Apache Beam, and other dependencies?

Any help or guidance would be greatly appreciated! Thank you in advance.

1 Like

Hi @SecludedCoder, As per mentioned in the GitHub issue, currently the tfx does not support windows.
Suggested way to run TFX on windows is by creating a virtual Python environment inside WSL instance and install TFX. Please refer solution from similar issue to setup TF on windows WSL. Thank You.

1 Like

Thank you so much for your prompt response and helpful suggestion. I will follow your advice and set up a virtual Python environment inside WSL to run TFX on Windows. Your guidance is much appreciated!

1 Like