Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install tfx, avro file version error #3055

Closed
tbucci100 opened this issue Jan 13, 2021 · 6 comments
Closed

pip install tfx, avro file version error #3055

tbucci100 opened this issue Jan 13, 2021 · 6 comments

Comments

@tbucci100
Copy link

windows/python 3.6

pip install tfx results in:
ERROR: Requested avro-python3!=1.9.2,<1.10.0,>=1.8.1 from https://files.pythonhosted.org/packages/5a/80/acd1455bea0a9fcdc60a748a97dcbb3ff624726fb90987a0fc1c19e7a5a5/avro-python3-1.9.2.1.tar.gz#sha256=ca1e77a3da5ac98e8833588f71fb2e170b38e34787ee0e04920de0e9470b7d32 (from apache-beam[gcp]!=2.26.*,<3,>=2.25->tfx) has different version in metadata: 'file-.avro-VERSION.txt'

pip install avro results in:
Using cached avro-1.10.1.tar.gz (68 kB)
ERROR: Requested avro from https://files.pythonhosted.org/packages/bf/75/89394503d5309ffacc4db29b9a299f40fb9c8baf368e9ff7f1665c63814b/avro-1.10.1.tar.gz#sha256=b3a405df5aa8654b992d2aca7b80482b858a1919a44dc0b10a682162e8ee340a has different version in metadata: 'file-.avro-VERSION.txt'

thank you

@tbucci100
Copy link
Author

seems to install ok in google colab, as a work around. thanks.

@jiyongjung0
Copy link

Hi, thank you for the report. It seems that there is some issues related to pip recently. Could you let us know the pip version you are using or could you try again with --use-deprecated legacy-resolver flag as described in pypa/pip#9203 ?

@tbucci100
Copy link
Author

Thank you for looking into it. I upgraded pip to current (from only a couple of minor versions behind) before receiving the error. I tried the command from #9203 and received the following error:
Failed to build pykerberos sasl setproctitle
ERROR: Could not build wheels for setproctitle which use PEP 517 and cannot be installed directly

I am able to run in colab as a work around.

@jiyongjung0
Copy link

Thanks for sharing the update!

I'm sorry but we don't have test coverage for windows yet. The packages you mentioned are not direct dependencies of TFX but it seems that there are issues with dependent packages. You might be able to pin packages to older versions but I'm sure it would help. For example, setproctitle==1.1.9 (dbcli/pgcli#1225)

@arghyaganguly
Copy link
Contributor

Closing this due to inactivity.Please feel free to reopen.

@google-ml-butler
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants