Install Python modules

Install Python modules

Upgrade the possibilities by installing sub modules for python

It is possible to install and use Python modules locally in Smode. The easiest way is to use pip. First, go to you Smode folder, then in the python sub-folder and try to run python.exe . If you get the error that a .dll is missing, copy here the python37.dll located in the parent Smode folder.
Then open a command line tool ( as administrator if necessary) at this specific location and run
python.exe -E -m pip install modulename
replace modulename by the name of your module. It will be downloaded and installed in the local Smode/python directory, and you can import it in the scripts.
if you use a powershell use
./python.exe -E -m pip install modulename
)

See Also: