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

error while installing requirements.txt #530

Open
kalmastenitin opened this issue May 24, 2019 · 0 comments
Open

error while installing requirements.txt #530

kalmastenitin opened this issue May 24, 2019 · 0 comments

Comments

@kalmastenitin
Copy link

the following error occurred while installing requirements I am using fresh installation of python3.7

following error lines:
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "c:\python3.7\lib\urllib\request.py", line 1317, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "c:\python3.7\lib\http\client.py", line 1229, in request
self._send_request(method, url, body, headers, encode_chunked)
File "c:\python3.7\lib\http\client.py", line 1275, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "c:\python3.7\lib\http\client.py", line 1224, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "c:\python3.7\lib\http\client.py", line 1016, in _send_output
self.send(msg)
File "c:\python3.7\lib\http\client.py", line 956, in send
self.connect()
File "c:\python3.7\lib\site-packages\setuptools\ssl_support.py", line 174, in connect
(self.host, self.port), getattr(self, 'source_address', None)
File "c:\python3.7\lib\socket.py", line 727, in create_connection
raise err
File "c:\python3.7\lib\socket.py", line 716, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 766, in open_url
    return open_with_auth(url, self.opener)
  File "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 961, in _socket_timeout
    return func(*args, **kwargs)
  File "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 1079, in open_with_auth
    fp = opener(request)
  File "c:\python3.7\lib\urllib\request.py", line 525, in open
    response = self._open(req, data)
  File "c:\python3.7\lib\urllib\request.py", line 543, in _open
    '_open', req)
  File "c:\python3.7\lib\urllib\request.py", line 503, in _call_chain
    result = func(*args)
  File "c:\python3.7\lib\site-packages\setuptools\ssl_support.py", line 161, in https_open
    lambda host, **kw: VerifyingHTTPSConn(host, self.ca_bundle, **kw), req
  File "c:\python3.7\lib\urllib\request.py", line 1319, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\MULTIP~1\AppData\Local\Temp\pip-install-zi6t386r\sqlalchemy-migrate\setup.py", line 29, in <module>
    pbr=True)
  File "c:\python3.7\lib\site-packages\setuptools\__init__.py", line 142, in setup
    _install_setup_requires(attrs)
  File "c:\python3.7\lib\site-packages\setuptools\__init__.py", line 137, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "c:\python3.7\lib\site-packages\setuptools\dist.py", line 586, in fetch_build_eggs
    replace_conflicting=True,
  File "c:\python3.7\lib\site-packages\pkg_resources\__init__.py", line 780, in resolve
    replace_conflicting=replace_conflicting
  File "c:\python3.7\lib\site-packages\pkg_resources\__init__.py", line 1063, in best_match
    return self.obtain(req, installer)
  File "c:\python3.7\lib\site-packages\pkg_resources\__init__.py", line 1075, in obtain
    return installer(requirement)
  File "c:\python3.7\lib\site-packages\setuptools\dist.py", line 653, in fetch_build_egg
    return cmd.easy_install(req)
  File "c:\python3.7\lib\site-packages\setuptools\command\easy_install.py", line 667, in easy_install
    not self.always_copy, self.local_index
  File "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 655, in fetch_distribution
    dist = find(requirement)
  File "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 635, in find
    loc = self.download(dist.location, tmpdir)
  File "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 579, in download
    found = self._download_url(scheme.group(1), spec, tmpdir)
  File "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 824, in _download_url
    return self._attempt_download(url, filename)
  File "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 830, in _attempt_download
    headers = self._download_to(url, filename)
  File "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 729, in _download_to
    fp = self.open_url(url)
  File "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 780, in open_url
    % (url, v.reason))
distutils.errors.DistutilsError: Download error for https://files.pythonhosted.org/packages/07/3e/22d1d35a4b51706ca3590c54359aeb5fa7ea60df46180143a3ea13d45f29/pbr-5.2.0-py2.py3-none-any.whl#sha256=6901995b9b686cb90cceba67a0f6d4d14ae003cd59bc12beb61549bdfbe3bc89: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
----------------------------------------

ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\MULTIP~1\AppData\Local\Temp\pip-install-zi6t386r\sqlalchemy-migrate\

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