tensorflow/tfx

Unable to install tfx in local

Aditya-171 opened this issue · 7 comments

  • Environment in which the code is executed : Local

  • Python version: 3.8.10

I created a virtual environment in my local and installed python 3.8.10.

Facing the following issue while installing tfx( pip install tfx )

ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\Aditya Soni\anaconda3\envs\tfx\lib\site-packages\pip_internal\cli\base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
File "C:\Users\Aditya Soni\anaconda3\envs\tfx\lib\site-packages\pip_internal\cli\req_command.py", line 248, in wrapper
return func(self, options, args)
File "C:\Users\Aditya Soni\anaconda3\envs\tfx\lib\site-packages\pip_internal\commands\install.py", line 377, in run
requirement_set = resolver.resolve(
File "C:\Users\Aditya Soni\anaconda3\envs\tfx\lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 92, in resolve
result = self._result = resolver.resolve(
File "C:\Users\Aditya Soni\anaconda3\envs\tfx\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "C:\Users\Aditya Soni\anaconda3\envs\tfx\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 457, in resolve
raise ResolutionTooDeep(max_rounds)
pip._vendor.resolvelib.resolvers.ResolutionTooDeep: 200000
PS C:\Users\Aditya Soni\PycharmProjects\tfx>

@Aditya-171,

I am unable to reproduce the issue on my side. Could you try to create a new conda environment with Python 3.9 and upgrade pip as shown in this guide. Let us know if you encounter any issues. Thank you!

csttsn commented

I'm having the same issue. I decided to update Miniconda to the latest version and reinstall TFX, and now the installation fails with the same error for some reason (_pip.vendor.resolvelib.resolvers.ResolutionTooDeep: 200000). I tried creating both Python 3.9 and 3.8 envs, no difference. I use Windows 11.

Can someone suggest me how to install TFX now? It was installing perfectly before on a W11 machine.

@csttsn,

Unfortunately there is currently no plan to support Windows. However, you can install WSL on windows following this guide and set up a virtual Python environment inside your WSL instance. Then you can install TFX in your virtual environment and it should work without any issues.

Please refer #5665 (comment) to setup TFX on windows WSL. Thank you!

csttsn commented

Thanks for the information! BTW, I've just managed to install TFX 1.11, so looks like currently this is the latest version that can be installed on W11.

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

This issue was closed due to lack of activity after being marked stale for past 7 days.

Are you satisfied with the resolution of your issue?
Yes
No