Python packages required for MBED CE - To program mBED LPC1768

Hi,
I want to program mBED LPC1768 in mBED CE environment. I manually downloaded mbed-os module and placed in the root directory. I installed python also. But configuring time it is exiting with 1 because, python packages are not downloaded lack of internet connection. I need to program in offline environment only. How to avoid of external links? Kindly anyone helm me.

You can see the requirements needed by Mbed here: mbed-os/tools/requirements.txt at master · mbed-ce/mbed-os · GitHub . If you pass the -DMBED_CREATE_PYTHON_VENV=FALSE option to cmake, it will use the system python instead of creating a virtual environment. So, by installing those packages to your system python in advance, you can avoid any network downloads during the configure step.

Thank you for the reply. Now I am seeing another error as follows.
CMake Error at mbed-os/tools/cmake/mbed_generate_configuration.cmake:123(message): mbedtools configure failed! cannot build this project. Command was Cd D:/Swarna?LED Blink/mbed-os/tools/cmake/–/python && c:/programFiles/Python311/python.exe -m mbed tools.cli.main -v configure -t GCC_ARM -m LPC1768 --mbed-os-path D:/Swarna/LED Blink/mbed-os/tools/cmake/–/–

And configuration failed exit with 1…
I cannot connect the system to internet. Is this might be the issue? Kindly help me in this regard.

Can you post more of the error log? There isn’t enough information for me to see what went wrong sadly