PYToolkit Installation Notes
As of SimWB 2021.1-0, PYToolkit is installed with support for all of the following
versions of Python: 2.6, 2.7, 3.4+. A new Python version will be supported once it
reaches the X.Y.1 revision level. This support is across all
modules, for Windows and Linux, regardless of whether you have that version of Python on
your system or not. In addition, on SimWB server systems you will get simwbRT modules
for these Pythons as well.
During installation you will be given the option to make one of the versions the "default".
This is not required, but is provided to make your install behave as it did in the past,
where the main installation directory (PYToolkit) contained files for a selected version
of Python. Previous releases also created a soft link $SIMWB_ROOT/bin/ccursimwb_python
pointing to the selected default Python. This link will no longer be supported by the
installer, but the user is free to maintain it themselves. It will NOT be removed during
future upgrades, and will NOT exist in future "clean" installs.
It is strongly recommended that the user can utilize the simwbPath module to modify
their Python sys.path so that subsequent imports will be from the appropriate folder (see
the PYToolkit User Guide docs on simwbPath for more inforation). When not included, you will
get whatever was selected as the "default" (or an error if no default was selected).
Firewalls
PYToolkit communicates with the SimWB server using standard network communications.
To let your python interpreter access the network in Windows 10, go to
Settings → Update & Security → Windows Security → Firewall & Network
protection → Allow an app through firewall. Find all the python executables
listed, select them (on the left) and then check both public and private on the
right.
You should not have any problems with networking on an intranet. However, if you are
connecting with SimWB via the internet (i.e. with a firewall between the client and
server), you will need to open the following ports in the firewall: