Page History
...
Now you have an admin prompt navigate to to the folder where you have unpacked your WhereScape Red Enablement Pack to using the 'cd' command:
C:\Windows\system32> cd <full path to the unpacked folder> | No Format |
|---|
C:\Windows\system32> cd <full path to the unpacked folder> |
...
| No Format |
|---|
C:\temp\EnablementPack>uninstall_WslPython_Modules.bat |
For installation of Python libraries there are two methods
Method 1
Press the Windows Key on your keyboard and start typing cmd.exe, when the cmd.exe icon shows up in the search list right click it to bring up the context menu, select "Run As Administrator"
Now you have an admin prompt navigate to to the folder where you have unpacked your WhereScape Red Enablement Pack to using the 'cd' command:
| No Format |
|---|
C:\Windows\system32> cd <full path to the unpacked folder> |
Run batch (.bat) scripts from the administrator prompt by simply typing the name at the prompt and hit enter, for example:
| No Format |
|---|
C:\temp\EnablementPack>install_WslPython_Modules.bat |
Method 2
Press the Windows Key on your keyboard and start typing cmd.exe, when the cmd.exe icon shows up in the search list right click it to bring up the context menu, select "Run As Administrator"
Now you have an admin prompt navigate to to the folder where you have unpacked your WhereScape Red Enablement Pack to using the 'cd' command:
| No Format |
|---|
C:\Windows\system32> cd <full path to the unpacked folder> |
Run the below command
| No Format |
|---|
python -m pip install -r requirements.txt |
For upgrade of existing repository
In upgrade of exiting repository if the user gets above error then it means the script type of wsl_post_install_enablement_pack is set to PowerShell(64-bit) change the script type to Auto Execute-PowerShell before upgrade or manually run the wsl_post_install_enablement_pack script from host script from RED after upgrade.
If a valid RED installation can not be found
If you have RED 10.x or higher installed but the script (Setup_Enablement_Pack.ps1) fails to find it on you system then you are most likely running PowerShell (x86) version which does not show installed 64 bit apps by default. Please open a 64 bit version of Powershell instead and re-run the script
Table name should be given in lowercase only
While loading the table, the table name should be given in lowercase, for example, load_tablename; otherwise, loaded data will now get displayed.

