Python3 Pip on USB stick

I have installed python3 and python3-pip on a USB drive (opkg). Python works well but with any module I want to install via pip I get:

root@OpenWrt:/mnt/usb/usr/lib/python3.11/site-packages# python3 -m pip install requests
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/requests/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/requests/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/requests/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/requests/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/requests/
Could not fetch URL https://pypi.org/simple/requests/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/requests/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement requests (from versions: none)
ERROR: No matching distribution found for requests

Well, if I try to bypass SSL with:

root@OpenWrt:/mnt/usb/usr/lib/python3.11/site-packages# python3 -m pip install requests --index-url=http://pypi.org/simple/ --trusted-host pypi.org

I get no warnings but the same error:

Looking in indexes: http://pypi.org/simple/
ERROR: Could not find a version that satisfies the requirement requests (from versions: none)
ERROR: No matching distribution found for requests

This has something related to using an external drive, or with the main storage the issue would be the same?

Has anyone achieved to solve this?

Thanks.

Since:

root@OpenWrt:/usr/lib# python3 -m ssl

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/lib/python3.11/ssl.py", line 100, in <module>
ImportError: Error loading shared library libatomic.so.1: No such file or directory (needed by /mnt/usb/usr/lib/libssl.so.3)

Solved via a simlink to the location where the USB drive was mounted:

root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.3M      4.3M         0 100% /rom
tmpfs                    58.8M   1000.0K     57.9M   2% /tmp
/dev/mtdblock4            8.6M      3.3M      5.4M  38% /overlay
overlayfs:/overlay        8.6M      3.3M      5.4M  38% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/sda                  7.1G    285.3M      6.5G   4% /mnt/usb

ln -s /mnt/usb/lib/libatomic.so.1 /usr/lib/libatomic.so.1

To clarify, I made /usr/lib/python3.11 a simlink to mnt/usb/usr/lib/python3.11 (since all is installed in the USB drive). The same for /usr/bin/python3 to /mnt/usb/usr/lib/python3 , /usr/bin/pip3 to /mnt/usb/usr/lib/pip3 and /usr/bin/pipto /mnt/usb/usr/lib/pip

This last symlink was the final tune to do.