Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to install Python 3.13 on OCI Linux Compute

Abasu-Oracle6 days ago

I am trying to install Python 3.13 on OCI Linux compute and keep getting the error below even after installing OpenSSL 3.0.18.

=====

Installing Python-3.13.9...
Traceback (most recent call last):
File "<string>", line 1, in <module>
import ssl
File "/home/opc/.pyenv/versions/3.13.9/lib/python3.13/ssl.py", line 100, in <module>
import _ssl # if we can't import it, let the error propagate
^^^^^^^^^^^
ModuleNotFoundError: No module named '_ssl'
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?

Please consult to the Wiki page to fix the problem.
https://github.com/pyenv/pyenv/wiki/Common-build-problems

BUILD FAILED (Oracle Linux Server 7.9 using python-build 2.6.13)

Inspect or clean up the working tree at /tmp/python-build.20251120021656.4370
Results logged to /tmp/python-build.20251120021656.4370.log

Last 10 log lines:
LD_LIBRARY_PATH=/tmp/python-build.20251120021656.4370/Python-3.13.9::/usr/local/ssl/lib64 ./python -E -m ensurepip \
$ensurepip --root=/ ; \
fi
WARNING: Disabling truststore since ssl support is missing
Looking in links: /tmp/tmpum9kpln0
Processing /tmp/tmpum9kpln0/pip-25.2-py3-none-any.whl
Installing collected packages: pip
WARNING: The scripts pip3 and pip3.13 are installed in '/home/opc/.pyenv/versions/3.13.9/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-25.2
=====

Comments
Post Details
Added 6 days ago
0 comments
67 views