google / python-fire

Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
Other
26.95k stars 1.44k forks source link

AttributeError: 'module' object has no attribute 'PY34' #474

Closed FANGOD closed 10 months ago

FANGOD commented 10 months ago
Traceback (most recent call last):
  File "deploy.py", line 12, in <module>
    import fire
  File "/home/gitlab-runner/.local/lib/python2.7/site-packages/fire/__init__.py", line 21, in <module>
    from fire.core import Fire
  File "/home/gitlab-runner/.local/lib/python2.7/site-packages/fire/core.py", line 65, in <module>
    from fire import completion
  File "/home/gitlab-runner/.local/lib/python2.7/site-packages/fire/completion.py", line 25, in <module>
    from fire import inspectutils
  File "/home/gitlab-runner/.local/lib/python2.7/site-packages/fire/inspectutils.py", line 29, in <module>
    if six.PY34:
AttributeError: 'module' object has no attribute 'PY34'

python2.7.5

dbieber commented 10 months ago

Looks like https://github.com/docker/docker-py/issues/2294#issuecomment-486269556 might be the issue here