Offline tensorflow installation issue in SQL Server

Algotar, Kalpana A 1 Reputation point
2021-11-11T18:33:00.007+00:00

Hi,
I have Python 3.7 embedded in SQL Server 2019. I am trying to install tensorflow library using whl file from the command prompt using the below command(offline - without internet) in my SQL Server 2019.

"C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\PYTHON_SERVICES\python.exe" -m pip install --no-deps "tensorflow-2.7.0-cp39-cp39m-win_amd64.whl"

I am getting the following error message.

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
ERROR: tensorflow-2.7.0-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

SQL Server Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.