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

帮忙看下AttributeError: 'TarFile' object has no attribute '__exit__'是怎么回事 #4

Closed
crazybinx opened this issue Jun 24, 2021 · 1 comment

Comments

@crazybinx
Copy link

Found parcel FLINK-1.9.1-BIN-SCALA_2.12-el6.parcel
Traceback (most recent call last):
File "cm_ext/make_manifest/make_manifest.py", line 115, in
manifest = make_manifest(path)
File "cm_ext/make_manifest/make_manifest.py", line 79, in make_manifest
with tarfile.open(fullpath, 'r') as tar:
AttributeError: 'TarFile' object has no attribute 'exit'

@crazybinx
Copy link
Author

已解决,是python版本的问题python2.6.6升级到2.7.15后就没有问题了

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

No branches or pull requests

1 participant