Downloading/unpacking pymysql Getting page https://pypi.python.org/simple/pymysql/ Could not fetch URL https://pypi.python.org/simple/pymysql/: connection error: ('Connection aborted.', OSError(97, 'Address family not supported by protocol')) Will skip URL https://pypi.python.org/simple/pymysql/ when looking for download links for pymysql Getting page https://pypi.python.org/simple/ Could not fetch URL https://pypi.python.org/simple/: connection error: ('Connection aborted.', OSError(97, 'Address family not supported by protocol')) Will skip URL https://pypi.python.org/simple/ when looking for download links for pymysql Cannot fetch index base URL https://pypi.python.org/simple/ URLs to search for versions for pymysql: * https://pypi.python.org/simple/pymysql/ Getting page https://pypi.python.org/simple/pymysql/ Could not fetch URL https://pypi.python.org/simple/pymysql/: connection error: ('Connection aborted.', OSError(97, 'Address family not supported by protocol')) Will skip URL https://pypi.python.org/simple/pymysql/ when looking for download links for pymysql Could not find any downloads that satisfy the requirement pymysql Cleaning up... No distributions at all found for pymysql Exception information: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 290, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/usr/lib/python3/dist-packages/pip/req.py", line 1178, in prepare_files url = finder.find_requirement(req_to_install, upgrade=self.upgrade) File "/usr/lib/python3/dist-packages/pip/index.py", line 277, in find_requirement raise DistributionNotFound('No distributions at all found for %s' % req) pip.exceptions.DistributionNotFound: No distributions at all found for pymysql