Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Issue in Start Container (linux build) TF Trusted Custom Operation #29

Open
aanand300 opened this issue Nov 28, 2021 · 0 comments
Open

Comments

@aanand300
Copy link

Hi all,
I am trying to build TF Trusted Custom Operation. Starting the container using sudo docker run -it -v pwd:/opt/my-project \ -w /opt/my-project/tf_trusted_custom_op \ tensorflow/tensorflow:custom-op /bin/bash command gives the following error:

Collecting tensorflow==1.13.1
/usr/local/lib/python2.7/dist-packages/pip-9.0.3-py2.7.egg/pip/vendor/urllib3/util/ssl.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip-9.0.3-py2.7.egg/pip/vendor/urllib3/util/ssl.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Could not find a version that satisfies the requirement tensorflow==1.13.1 (from versions: )
No matching distribution found for tensorflow==1.13.1
/usr/local/lib/python2.7/dist-packages/pip-9.0.3-py2.7.egg/pip/vendor/urllib3/util/ssl.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Certificate did not match expected hostname: pypi.org. Certificate: {'notAfter': 'Nov 23 18:41:10 2022 GMT', 'subjectAltName': (('DNS', 'www.python.org'), ('DNS', '*.python.org'), ('DNS', 'docs.python.org'), ('DNS', 'downloads.python.org'), ('DNS', 'pypi.python.org')), 'subject': ((('commonName', u'www.python.org'),),)}
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named 'tensorflow'
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named 'tensorflow'

Does anyone know what the issue is and can help in resolving the error?
Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant