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

Handling of FileNotFoundError in setup.py for build_ext.run #453

Merged
merged 1 commit into from
Aug 2, 2015
Merged

Handling of FileNotFoundError in setup.py for build_ext.run #453

merged 1 commit into from
Aug 2, 2015

Conversation

prokopst
Copy link
Contributor

@prokopst prokopst commented Aug 2, 2015

Installation from the pypi repository was failing during the build of extensions so I've fixed it by "handling" FileNotFoundError.

This is the traceback I had:

    Traceback (most recent call last):
      File "C:\Users\PROST_~1\AppData\Local\Temp\pip-ts3utdkg-build\setup.py", line 36, in run
        build_ext.run(self)
      File "C:\Program Files\Python 3.5\lib\distutils\command\build_ext.py", line 338, in run
        self.build_extensions()
      File "C:\Program Files\Python 3.5\lib\distutils\command\build_ext.py", line 447, in build_extensions
        self._build_extensions_serial()
      File "C:\Program Files\Python 3.5\lib\distutils\command\build_ext.py", line 472, in _build_extensions_serial
        self.build_extension(ext)
      File "C:\Users\PROST_~1\AppData\Local\Temp\pip-ts3utdkg-build\setup.py", line 45, in build_extension
        build_ext.build_extension(self, ext)
      File "C:\Program Files\Python 3.5\lib\distutils\command\build_ext.py", line 532, in build_extension
        depends=ext.depends)
      File "C:\Program Files\Python 3.5\lib\distutils\_msvccompiler.py", line 259, in compile
        self.initialize()
      File "C:\Program Files\Python 3.5\lib\distutils\_msvccompiler.py", line 180, in initialize
        vc_env = _get_vc_env(plat_spec)
      File "C:\Program Files\Python 3.5\lib\distutils\_msvccompiler.py", line 71, in _get_vc_env
        vcvarsall = _find_vcvarsall()
      File "C:\Program Files\Python 3.5\lib\distutils\_msvccompiler.py", line 33, in _find_vcvarsall
        access=winreg.KEY_READ | winreg.KEY_WOW64_32KEY
    FileNotFoundError: [WinError 2] The system cannot find the file specified

@prokopst
Copy link
Contributor Author

prokopst commented Aug 2, 2015

The Travis CI build failed because:

ConnectionResetError: [Errno 104] Connection reset by peer

The command "pip install cython" failed and exited with 2 during .

asvetlov added a commit that referenced this pull request Aug 2, 2015
Handling of FileNotFoundError in setup.py for build_ext.run
@asvetlov asvetlov merged commit c4277b0 into aio-libs:master Aug 2, 2015
@lock
Copy link

lock bot commented Oct 30, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 30, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants