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
Python bindings build accesses internet: Failed to establish a new connection: [Errno 8] Name does not resolve')': /simple/ortools/ #2305
Comments
My guess is @yurivict could you try to run by hand each part of the command to be sure which one is responsible for the issue, i.e. cd /wrkdirs/usr/ports/math/py-or-tools/work-py37/or-tools-8.1
/usr/local/bin/python3.7 -m venv /wrkdirs/usr/ports/math/py-or-tools/work-py37/or-tools-8.1/python/venv
/wrkdirs/usr/ports/math/py-or-tools/work-py37/or-tools-8.1/python/venv/bin/python -m pip install --find-links=/wrkdirs/usr/ports/math/py-or-tools/work-py37/or-tools-8.1/python/dist ortools
/usr/local/bin/cmake -E copy /wrkdirs/usr/ports/math/py-or-tools/work-py37/or-tools-8.1/test.py.in /wrkdirs/usr/ports/math/py-or-tools/work-py37/or-tools-8.1/python/venv/test.py |
|
Version 7.7 didn't have such problem. |
strange, maybe add a Line 209 in 687bdd6
ref: https://pip.pypa.io/en/latest/reference/pip_install/#cmdoption-no-index |
Now it fails to find the package:
despite it being installed:
|
I have to apply this patch to make it build w/out internet access:
It was the same way before 8.1, so this isn't a regression. |
Building without internet access is not (won't be) a goal. |
What version of OR-tools and what language are you using?
Version: 8.1
Language: Python
What operating system (Linux, Windows, ...) and version?
FreeBSD 12.2
It builds with internet connection, but fails without it:
The text was updated successfully, but these errors were encountered: