Can’t able to install any python packages

  mysql, pip, python, python-3.x

I’m trying to install mysqlclient package. But I can’t able to install it. It automatically search for another versions to install it instead of installing the current version. But finally nothing were installed, I can’t able to rectify the problem, and I can’t able to understand it. Please help to fix it.

C:UsersDhinesh TP>pip install mysqlclient
Collecting mysqlclient
  Using cached mysqlclient-2.0.3.tar.gz (88 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_ed1f73d72e7b4997ad3e9f616a1656bfsetup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_ed1f73d72e7b4997ad3e9f616a1656bfsetup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-nxowdsph'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_ed1f73d72e7b4997ad3e9f616a1656bf
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/3c/df/59cd2fa5e48d0804d213bdcb1acb4d08c403b61c7ff7ed4dd4a6a2deb3f7/mysqlclient-2.0.3.tar.gz#sha256=f6ebea7c008f155baeefe16c56cd3ee6239f7a5a9ae42396c2f1860f08a7c432 (from https://pypi.org/simple/mysqlclient/) (requires-python:>=3.5). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

  Using cached mysqlclient-2.0.2.tar.gz (88 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_c6fd4e515eb84bab9bf63b5f81643111setup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_c6fd4e515eb84bab9bf63b5f81643111setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-ymh2q9wm'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_c6fd4e515eb84bab9bf63b5f81643111
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/0e/68/f79de0e0fcdb041783124b825771e0ba6a3d0893b7b4c4735f130e42af47/mysqlclient-2.0.2.tar.gz#sha256=8df057b08fc27d8f7106bfa997d0a21e2acef017f905f06d6fb0aa6a20d4d2b2 (from https://pypi.org/simple/mysqlclient/) (requires-python:>=3.5). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached mysqlclient-2.0.1.tar.gz (87 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_74cc07cec065467dbe6fe46efc5403e9setup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_74cc07cec065467dbe6fe46efc5403e9setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-7ijkob7m'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_74cc07cec065467dbe6fe46efc5403e9
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/a5/e1/e5f2b231c05dc51d9d87fa5066f90d1405345c54b14b0b11a1c859020f21/mysqlclient-2.0.1.tar.gz#sha256=fb2f75aea14722390d2d8ddf384ad99da708c707a96656210a7be8af20a2c5e5 (from https://pypi.org/simple/mysqlclient/) (requires-python:>=3.5). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached mysqlclient-2.0.0.tar.gz (87 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_0c6003bc22374607896eb1e9606ecaa4setup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_0c6003bc22374607896eb1e9606ecaa4setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-bkyo_6ol'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_0c6003bc22374607896eb1e9606ecaa4
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/ca/cf/dd8124bf8b3d2ae465db9c8ce35c51650c31784b095f41faf6f8cad987a0/mysqlclient-2.0.0.tar.gz#sha256=201dfcc2a3c8a0859ea399947f1af8abe74b706beba0ebac149180d9d7b0f6e8 (from https://pypi.org/simple/mysqlclient/) (requires-python:>=3.5). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached mysqlclient-1.4.6.tar.gz (85 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_97e07cdf6e3d4120b28982c65871309esetup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_97e07cdf6e3d4120b28982c65871309esetup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-mbkhg7yi'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_97e07cdf6e3d4120b28982c65871309e
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/d0/97/7326248ac8d5049968bf4ec708a5d3d4806e412a42e74160d7f266a3e03a/mysqlclient-1.4.6.tar.gz#sha256=f3fdaa9a38752a3b214a6fe79d7cae3653731a53e577821f9187e67cbecb2e16 (from https://pypi.org/simple/mysqlclient/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached mysqlclient-1.4.5.tar.gz (86 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_e68fb96180f14f9092e27b764d94c2e2setup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_e68fb96180f14f9092e27b764d94c2e2setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-wnmt57y7'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_e68fb96180f14f9092e27b764d94c2e2
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/f8/9b/5db9a03e2088a87c26e3e4d4c7f7e8f4c2dbae610f9521cdfac15755a795/mysqlclient-1.4.5.tar.gz#sha256=e80109b0ae8d952b900b31b623181532e5e89376d707dcbeb63f99e69cefe559 (from https://pypi.org/simple/mysqlclient/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached mysqlclient-1.4.4.tar.gz (86 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_50267a94d577461589ce465d9127d8desetup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_50267a94d577461589ce465d9127d8desetup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-i51luhw8'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_50267a94d577461589ce465d9127d8de
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/4d/38/c5f8bac9c50f3042c8f05615f84206f77f03db79781db841898fde1bb284/mysqlclient-1.4.4.tar.gz#sha256=9c737cc55a5dc8dd3583a942d5a9b21be58d16f00f5fefca4e575e7d9682e98c (from https://pypi.org/simple/mysqlclient/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached mysqlclient-1.4.3.tar.gz (86 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_9a6e1de061304dcd914f1a0decf9718esetup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_9a6e1de061304dcd914f1a0decf9718esetup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-ljm0j9el'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_9a6e1de061304dcd914f1a0decf9718e
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/13/37/6c941aabeb78464a538b7d43266bfae645993779e3ca3e12fe82b4590f52/mysqlclient-1.4.3.tar.gz#sha256=0d3eeb97534c9f42e9b65bd35c1a35fadc2f6d7ea5d9fdbda5339a569156344b (from https://pypi.org/simple/mysqlclient/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached mysqlclient-1.4.2.post1.tar.gz (85 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_1153c0c30ec64b34a1e70cadc662b6fesetup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_1153c0c30ec64b34a1e70cadc662b6fesetup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-03fzdns2'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_1153c0c30ec64b34a1e70cadc662b6fe
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/f4/f1/3bb6f64ca7a429729413e6556b7ba5976df06019a5245a43d36032f1061e/mysqlclient-1.4.2.post1.tar.gz#sha256=f257d250f2675d0ef99bd318906f3cfc05cef4a2f385ea695ff32a3f04b9f9a7 (from https://pypi.org/simple/mysqlclient/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached mysqlclient-1.4.2.tar.gz (85 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_9dd32f3fdeaa4776889e652558286c4bsetup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_9dd32f3fdeaa4776889e652558286c4bsetup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-oc3f5v2g'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_9dd32f3fdeaa4776889e652558286c4b
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/73/79/67ddf24ac31b05d741f0ac87fa612c7a11bab1b39b8270ed7344d149f8af/mysqlclient-1.4.2.tar.gz#sha256=b95edaa41d6cc47deecabcdcbb5ab437ad9ae6d8955f5cf10d1847b37e66ef5e (from https://pypi.org/simple/mysqlclient/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached mysqlclient-1.4.1.tar.gz (85 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_da8d161a42dc4ad8a61d25ef6cea33f4setup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_da8d161a42dc4ad8a61d25ef6cea33f4setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-ll_vwjot'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_da8d161a42dc4ad8a61d25ef6cea33f4
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/de/d7/919042fb7ed78a89e21c4e43d5daed90d5df18ec183bae3de493a7d9e3ed/mysqlclient-1.4.1.tar.gz#sha256=a62220410e26ce2d2ff94dd0138c3ecfb91db634464a9afb4c8e6b50f0a67e00 (from https://pypi.org/simple/mysqlclient/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached mysqlclient-1.4.0.tar.gz (85 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_a25cf19523114b9488aa6c5295b750acsetup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_a25cf19523114b9488aa6c5295b750acsetup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-ildtcs5q'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_a25cf19523114b9488aa6c5295b750ac
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/05/73/fac741eef89b0257fb1807de80e96474f40d52739cdbc32c90c4a793e79d/mysqlclient-1.4.0.tar.gz#sha256=efeaacd04feea7d44fef2a5adf4df335b438458f8b89144307dc5a90025761a5 (from https://pypi.org/simple/mysqlclient/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached mysqlclient-1.3.14.tar.gz (91 kB)
    ERROR: Command errored out with exit status 1:
     command: 'f:pythonpython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_84412ceb24bf4843b8de280b7fa35614setup.py'"'"'; __file__='"'"'C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_84412ceb24bf4843b8de280b7fa35614setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersDhinesh TPAppDataLocalTemppip-pip-egg-info-pf1arufy'
         cwd: C:UsersDhinesh TPAppDataLocalTemppip-install-8zo2ckommysqlclient_84412ceb24bf4843b8de280b7fa35614
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "f:pythonlibsite-packagessetuptools__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "f:pythonlibsite-packagessetuptoolsextension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "f:pythonlibsite-packagessetuptoolsdist.py", line 16, in <module>
        import pkg_resources
      File "f:pythonlibsite-packagespkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/f7/a2/1230ebbb4b91f42ad6b646e59eb8855559817ad5505d81c1ca2b5a216040/mysqlclient-1.3.14.tar.gz#sha256=3981ae9ce545901a36a8b7aed76ed02960a429f75dc53b7ad77fb2f9ab7cd56b (from https://pypi.org/simple/mysqlclient/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
 
ERROR: Could not find a version that satisfies the requirement mysqlclient
ERROR: No matching distribution found for mysqlclient

Source: Python Questions

One Reply to “Can’t able to install any python packages”

LEAVE A COMMENT