kcsaff / getkey

MIT License
41 stars 18 forks source link

Error installing on mac same error as window... #5

Open julesmoretti opened 5 years ago

julesmoretti commented 5 years ago
pip install getkey                                                                                                  (master✱) 
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting getkey
  Using cached https://files.pythonhosted.org/packages/74/f2/3312ea94369f410967667eeca61d261cdf3037df6ea827078ac7c5321150/getkey-0.6.5.tar.gz
    Complete output from command python setup.py egg_info:
    Error initializing standard platform: Cannot use unix platform on non-file-like stream
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
      warnings.warn(msg)
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    no previously-included directories found matching 'docs/build/'
    zip_safe flag not set; analyzing archive contents...

    Installed /private/var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/pip-install-xWGFt3/getkey/.eggs/flake8-3.7.2-py2.7.egg
    Searching for typing
    Reading https://pypi.python.org/simple/typing/
    Best match: typing 3.6.6
    Downloading https://files.pythonhosted.org/packages/bf/9b/2bf84e841575b633d8d91ad923e198a415e3901f228715524689495b4317/typing-3.6.6.tar.gz#sha256=4027c5f6127a6267a435201981ba156de91ad0d1d98e9ddc2aa173453453492d
    Processing typing-3.6.6.tar.gz
    Writing /var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/easy_install-6_E7iH/typing-3.6.6/setup.cfg
    Running typing-3.6.6/setup.py -q bdist_egg --dist-dir /var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/easy_install-6_E7iH/typing-3.6.6/egg-dist-tmp-llVr7a
    zip_safe flag not set; analyzing archive contents...
    Copying typing-3.6.6-py2.7.egg to /private/var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/pip-install-xWGFt3/getkey/.eggs

    Installed /private/var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/pip-install-xWGFt3/getkey/.eggs/typing-3.6.6-py2.7.egg
    Searching for enum34
    Reading https://pypi.python.org/simple/enum34/
    Best match: enum34 1.1.6
    Downloading https://files.pythonhosted.org/packages/e8/26/a6101edcf724453845c850281b96b89a10dac6bd98edebc82634fccce6a5/enum34-1.1.6.zip#sha256=2d81cbbe0e73112bdfe6ef8576f2238f2ba27dd0d55752a776c41d38b7da2850
    Processing enum34-1.1.6.zip
    Writing /var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/easy_install-FKns0M/enum34-1.1.6/setup.cfg
    Running enum34-1.1.6/setup.py -q bdist_egg --dist-dir /var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/easy_install-FKns0M/enum34-1.1.6/egg-dist-tmp-ezxl7L
    zip_safe flag not set; analyzing archive contents...
    Copying enum34-1.1.6-py2.7.egg to /private/var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/pip-install-xWGFt3/getkey/.eggs

    Installed /private/var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/pip-install-xWGFt3/getkey/.eggs/enum34-1.1.6-py2.7.egg
    Searching for configparser
    Reading https://pypi.python.org/simple/configparser/
    Best match: configparser 3.7.1
    Downloading https://files.pythonhosted.org/packages/b6/a6/eceea7c5a5dbcf56815bed411c38cabd8a879386be10717b160e7362b5a2/configparser-3.7.1.tar.gz#sha256=5bd5fa2a491dc3cfe920a3f2a107510d65eceae10e9c6e547b90261a4710df32
    Processing configparser-3.7.1.tar.gz
    Writing /var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/easy_install-DMFHE4/configparser-3.7.1/setup.cfg
    Running configparser-3.7.1/setup.py -q bdist_egg --dist-dir /var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/easy_install-DMFHE4/configparser-3.7.1/egg-dist-tmp-3L5E49
    zip_safe flag not set; analyzing archive contents...
    backports.__init__: module references __path__
    creating /private/var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/pip-install-xWGFt3/getkey/.eggs/UNKNOWN-0.0.0-py2.7.egg
    Extracting UNKNOWN-0.0.0-py2.7.egg to /private/var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/pip-install-xWGFt3/getkey/.eggs

    Installed /private/var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/pip-install-xWGFt3/getkey/.eggs/UNKNOWN-0.0.0-py2.7.egg
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/k4/dh9kh38j6pxgc5x_xzvgcr6w0000gn/T/pip-install-xWGFt3/getkey/setup.py", line 74, in <module>
        'flake8',
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup
        _setup_distribution = dist = klass(attrs)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py", line 268, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py", line 313, in fetch_build_eggs
        replace_conflicting=True,
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 846, in resolve
        raise DistributionNotFound(req, requirers)
    pkg_resources.DistributionNotFound: The 'configparser' distribution was not found and is required by flake8