Unable to use pip install tfx in Google Collab and in anaconda !
Facing the following issue
(tf) C:\Users\Aditya Soni>pip install tfx
Collecting tfx
Downloading tfx-0.23.1-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 554.5 kB/s eta 0:00:00
Collecting absl-py<0.9,>=0.7 (from tfx)
Downloading absl-py-0.8.1.tar.gz (103 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.2/103.2 kB 844.9 kB/s eta 0:00:00
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “C:\Users\Aditya Soni\AppData\Local\Temp\pip-install-ecign6c9\absl-py_9f34322beee64dc48c41123dd2f8ce8f\setup.py”, line 34, in
raise RuntimeError(‘Python version 2.7 or 3.4+ is required.’)
RuntimeError: Python version 2.7 or 3.4+ is required.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.