- Details
- Written by: Stanko Milosev
- Category: Windows
- Hits: 88
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
Otherwise, I received the following error:
.\.venv\Scripts\Activate.ps1 : File C:\Users\user\.venv\Scripts\Activate.ps1 cannot be loaded. The file
C:\Users\user\.venv\Scripts\Activate.ps1 is not digitally signed. You cannot run this script on the current
system. For more information about running scripts and setting execution policy, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ .\.venv\Scripts\Activate.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
Next, I created a virtual environment by running:
python -m venv .venvThen, I activated the virtual environment by running:
.\.venv\Scripts\Activate.ps1With the virtual environment activated, I executed the following command:
(.venv) PS C:\Users\user> pip install "markitdown[all]"
- Details
- Written by: Stanko Milosev
- Category: Windows
- Hits: 231
The legacy 'py' command is still installed.For this reason, I selected "N" (do not install). After that, I received the following message:
The global shortcuts directory is not configured. Configuring this enables commands like python3.14.exe to run from your terminal, but is not needed for the python or py commands (for example, py -V:3.14). We can add the directory (C:\Users\user\AppData\Local\Python\bin) to PATH now, but you will need to restart your terminal to use it. The entry will be removed if you run py uninstall --purge, or else you can remove it manually when uninstalling Python. Add commands directory to your PATH now? [y/N]At this prompt, I selected "y". In the next step, I received the following message:
PATH has been updated, and will take effect after opening a new terminal. ******************************************************************************** You do not have the latest Python runtime. Install the current latest version of CPython? If not, you can use 'py install default' later to install. Install CPython now? [Y/n]At this prompt, I pressed "Y". To verify that Python was installed successfully, I executed the following commands:
python --version pip --versionThe output was as follows:
PS C:\Users\user> python --version Python 3.13.5 PS C:\Users\user> pip --version pip 25.1.1 from C:\Python313\Lib\site-packages\pip (python 3.13) PS C:\Users\user>
- Details
- Written by: Stanko Milosev
- Category: Windows
- Hits: 95
wsl --installAfter the installation completes, reboot your system. Next, execute the following command to connect OpenWebUI to Ollama running on another machine. Replace
http://192.168.2.39:11434 with the IP address of your Ollama instance:
docker run -d ` --name open-webui ` -p 3000:8080 ` -e OLLAMA_BASE_URL=http://192.168.2.39:11434 ` --restart unless-stopped ` ghcr.io/open-webui/open-webui:mainAfter the installation completes, wait a short time for OpenWebUI to start. The service does not start immediately, and no status message is shown during the initialization process.
- Details
- Written by: Stanko Milosev
- Category: Windows
- Hits: 2636
This is how my Project Explorer look like now, please notice "Stores" and "TestedApps":
Then I created my tested script like this:
function Test1()
{
TestedApps.GridDataSetBindingSourceAndTableAdapterDynamicExample.Run();
let form1 = Aliases.GridDataSetBindingSourceAndTableAdapterDynamicExample.Form1;
let dataGridView = form1.dataGridView1;
form1.btnDisplay.ClickButton();
//check if field 'LastName' of first row is 'Milosev'
let cellValue = dataGridView.wValue (0, 1).ToString().OleValue;
if (cellValue != "Milosev")
{
form1.Close();
Log.Error("Field 'LastName' of first row is not 'Milosev', it is: " + cellValue);
}
form1.btnAdd.ClickButton();
form1.btnDisplay.ClickButton();
//check if number of rows is 2
let rowCount = dataGridView.wRowCount;
if (rowCount != 2)
{
form1.Close();
Log.Error("There are no 2 rows, there are: " + rowCount + " rows");
}
//check if field 'LastName' of second row is 'Mustermann'
cellValue = dataGridView.wValue (1, 1);
if (cellValue != "Mustermann")
Log.Error("Field 'LastName' of first row is not 'Mustermann'");
form1.btnDelete.ClickButton();
form1.btnDisplay.ClickButton();
form1.Close();
}
I have added my script to Execution Plan, and executed test: